Describes a head unit’s audio control capabilities.
@since RPC 5.0
Constructs a newly allocated SDLAudioControlCapabilities object with audio control module name (max 100 chars)
- (nonnull instancetype)initWithModuleName:(nonnull NSString *)name
moduleInfo:(nullable SDLModuleInfo *)moduleInfo;
init(moduleName name: String, moduleInfo: SDLModuleInfo?)
The short friendly name of the audio control module.
Information about a RC module, including its id.
An instance of the SDLAudioControlCapabilities class.
Constructs a newly allocated SDLAudioControlCapabilities object with given parameters
- (nonnull instancetype)
initWithModuleName:(nonnull NSString *)name
moduleInfo:(nullable SDLModuleInfo *)moduleInfo
sourceAvailable:(nullable NSNumber<SDLBool> *)sourceAvailable
keepContextAvailable:(nullable NSNumber<SDLBool> *)keepContextAvailable
volumeAvailable:(nullable NSNumber<SDLBool> *)volumeAvailable
equalizerAvailable:(nullable NSNumber<SDLBool> *)equalizerAvailable
equalizerMaxChannelID:(nullable NSNumber<SDLInt> *)equalizerMaxChannelID;
init(moduleName name: String, moduleInfo: SDLModuleInfo?, sourceAvailable: (NSNumber & SDLBool)?, keepContextAvailable: (NSNumber & SDLBool)?, volumeAvailable: (NSNumber & SDLBool)?, equalizerAvailable: (NSNumber & SDLBool)?, equalizerMaxChannelID: (NSNumber & SDLInt)?)
The short friendly name of the audio control module.
Information about a RC module, including its id.
Availability of the control of audio source.
Availability of the volume of audio source.
Availability of the equalizer of audio source.
Equalizer channel ID (between 1-100).
An instance of the SDLAudioControlCapabilities class.
@abstract The short friendly name of the audio control module. It should not be used to identify a module by mobile application.
Required, Max String length 100 chars
@property (nonatomic, strong) NSString *_Nonnull moduleName;
var moduleName: String { get set }
@abstract Availability of the control of audio source.
Optional, Boolean
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *sourceAvailable;
var sourceAvailable: (NSNumber & SDLBool)? { get set }
Availability of the keepContext parameter.
Optional, Boolean
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *keepContextAvailable;
var keepContextAvailable: (NSNumber & SDLBool)? { get set }
@abstract Availability of the control of audio volume.
Optional, Boolean
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *volumeAvailable;
var volumeAvailable: (NSNumber & SDLBool)? { get set }
@abstract Availability of the control of Equalizer Settings.
Optional, Boolean
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *equalizerAvailable;
var equalizerAvailable: (NSNumber & SDLBool)? { get set }
@abstract Must be included if equalizerAvailable=true, and assume all IDs starting from 1 to this value are valid
Optional, Integer 1 - 100
@property (nonatomic, strong, nullable) NSNumber<SDLInt> *equalizerMaxChannelId;
var equalizerMaxChannelId: (NSNumber & SDLInt)? { get set }
Information about a RC module, including its id.
Optional
@property (nonatomic, strong, nullable) SDLModuleInfo *moduleInfo;
var moduleInfo: SDLModuleInfo? { get set }