Include information (both read-only and changeable data) about a remote control radio module.
Constructs a newly allocated SDLRadioControlCapabilities object with given parameters.
- (nonnull instancetype)
initWithFrequencyInteger:(nullable NSNumber<SDLInt> *)frequencyInteger
frequencyFraction:(nullable NSNumber<SDLInt> *)frequencyFraction
band:(nullable SDLRadioBand)band
hdChannel:(nullable NSNumber<SDLInt> *)hdChannel
radioEnable:(nullable NSNumber<SDLBool> *)radioEnable
hdRadioEnable:(nullable NSNumber<SDLBool> *)hdRadioEnable;
init(frequencyInteger: (NSNumber & SDLInt)?, frequencyFraction: (NSNumber & SDLInt)?, band: SDLRadioBand?, hdChannel: (NSNumber & SDLInt)?, radioEnable: (NSNumber & SDLBool)?, hdRadioEnable: (NSNumber & SDLBool)?)
integer part of the frequency
fractional part of the frequency
Radio band value
Current HD sub-channel
whether or not radio is enabled
whether or not hdradio is enabled
An instance of the SDLRadioControlData class
Constructs a newly allocated SDLRadioControlCapabilities object with given parameters.
- (nonnull instancetype)
initFMWithFrequencyInteger:(nullable NSNumber<SDLInt> *)frequencyInteger
frequencyFraction:(nullable NSNumber<SDLInt> *)frequencyFraction
hdChannel:(nullable NSNumber<SDLInt> *)hdChannel;
init(fmWithFrequencyInteger frequencyInteger: (NSNumber & SDLInt)?, frequencyFraction: (NSNumber & SDLInt)?, hdChannel: (NSNumber & SDLInt)?)
Must be between 0 and 1710
Must be between 0 and 9
Must be between 0 and 7
An instance of the SDLRadioControlData class
Constructs a newly allocated SDLRadioControlCapabilities object with given parameters.
- (nonnull instancetype)
initAMWithFrequencyInteger:(nullable NSNumber<SDLInt> *)frequencyInteger
hdChannel:(nullable NSNumber<SDLInt> *)hdChannel;
init(amWithFrequencyInteger frequencyInteger: (NSNumber & SDLInt)?, hdChannel: (NSNumber & SDLInt)?)
Must be between 0 and 1710
Must be between 0 and 7
An instance of the SDLRadioControlData class
Constructs a newly allocated SDLRadioControlCapabilities object with given parameters.
- (nonnull instancetype)initXMWithFrequencyInteger:
(nullable NSNumber<SDLInt> *)frequencyInteger;
init(xmWithFrequencyInteger frequencyInteger: (NSNumber & SDLInt)?)
Must be between 1 and 1710
An instance of the SDLRadioControlData class
The integer part of the frequency ie for 101.7 this value should be 101
Integer
@property (nonatomic, strong, nullable) NSNumber<SDLInt> *frequencyInteger;
var frequencyInteger: (NSNumber & SDLInt)? { get set }
The fractional part of the frequency for 101.7 is 7
Integer
@property (nonatomic, strong, nullable) NSNumber<SDLInt> *frequencyFraction;
var frequencyFraction: (NSNumber & SDLInt)? { get set }
Radio band value
SDLRadioBand
@property (nonatomic, strong, nullable) SDLRadioBand band;
var band: SDLRadioBand? { get set }
Read only parameter. See RDSData data type for details.
Warning
This property is readonly and cannot be set on the module.SDLRDSData
@property (nonatomic, strong, nullable) SDLRDSData *rdsData;
var rdsData: SDLRDSData? { get set }
number of HD sub-channels if available
Warning
This property is readonly and cannot be set on the module.Integer value Min Value - 1 Max Value -7
@property (nonatomic, strong, nullable) NSNumber<SDLInt> *availableHDs;
var availableHDs: (NSNumber & SDLInt)? { get set }
the list of available hd sub-channel indexes, empty list means no Hd channel is available, read-only
Warning
This property is readonly and cannot be set on the module.Integer value Min Value - 0 Max Value -7
@property (nonatomic, strong, nullable) NSNumber<SDLInt> *availableHDChannels;
var availableHDChannels: (NSNumber & SDLInt)? { get set }
Current HD sub-channel if available
Integer value Min Value - 0 Max Value -7
@property (nonatomic, strong, nullable) NSNumber<SDLInt> *hdChannel;
var hdChannel: (NSNumber & SDLInt)? { get set }
Signal Strength Value
Warning
This property is readonly and cannot be set on the module.Integer value Min Value - 0 Max Value - 100
@property (nonatomic, strong, nullable) NSNumber<SDLInt> *signalStrength;
var signalStrength: (NSNumber & SDLInt)? { get set }
If the signal strength falls below the set value for this parameter, the radio will tune to an alternative frequency
Warning
This property is readonly and cannot be set on the module.Integer value Min Value - 0 Max Value - 100
@property (nonatomic, strong, nullable) NSNumber<SDLInt> *signalChangeThreshold;
var signalChangeThreshold: (NSNumber & SDLInt)? { get set }
True if the radio is on, false is the radio is off. When the radio is disabled, no data other than radioEnable is included in a GetInteriorVehicleData response
Boolean value
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *radioEnable;
var radioEnable: (NSNumber & SDLBool)? { get set }
Read only parameter. See RadioState data type for details.
Warning
This property is readonly and cannot be set on the module.SDLRadioState
@property (nonatomic, strong, nullable) SDLRadioState state;
var state: SDLRadioState? { get set }
True if the hd radio is on, false is the radio is off
Boolean value
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *hdRadioEnable;
var hdRadioEnable: (NSNumber & SDLBool)? { get set }
Read Read-only Station Information Service (SIS) data provides basic information about the station such as call sign, as well as information not displayable to the consumer such as the station identification number
Optional, SDLSISData
@property (nonatomic, strong, nullable) SDLSISData *sisData;
var sisData: SDLSISData? { get set }