Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
iOS Documentation
SDLModuleData

SDLModuleData Class Reference

Section Contents

Overview

Describes a remote control module’s data

-initWithRadioControlData:

Constructs a newly allocated SDLModuleData object with radio control data

Objective-C

- (nonnull instancetype)initWithRadioControlData:
    (nonnull SDLRadioControlData *)radioControlData;

Swift

init(radioControlData: SDLRadioControlData)

Parameters

radioControlData

The radio control data

Return Value

An instance of the SDLModuleData class

-initWithClimateControlData:

Constructs a newly allocated SDLModuleData object with climate control data

Objective-C

- (nonnull instancetype)initWithClimateControlData:
    (nonnull SDLClimateControlData *)climateControlData;

Swift

init(climateControlData: SDLClimateControlData)

Parameters

climateControlData

The climate control data

Return Value

An instance of the SDLModuleData class

-initWithAudioControlData:

Constructs a newly allocated SDLModuleData object with audio control data

Objective-C

- (nonnull instancetype)initWithAudioControlData:
    (nonnull SDLAudioControlData *)audioControlData;

Swift

init(audioControlData: SDLAudioControlData)

Parameters

audioControlData

The audio control data

Return Value

An instance of the SDLModuleData class

-initWithLightControlData:

Constructs a newly allocated SDLModuleData object with light control data

Objective-C

- (nonnull instancetype)initWithLightControlData:
    (nonnull SDLLightControlData *)lightControlData;

Swift

init(lightControlData: SDLLightControlData)

Parameters

lightControlData

The light control data

Return Value

An instance of the SDLModuleData class

-initWithHMISettingsControlData:

Constructs a newly allocated SDLModuleData object with hmi settings data

Objective-C

- (nonnull instancetype)initWithHMISettingsControlData:
    (nonnull SDLHMISettingsControlData *)hmiSettingsControlData;

Swift

init(hmiSettingsControlData: SDLHMISettingsControlData)

Parameters

hmiSettingsControlData

The hmi settings data

Return Value

An instance of the SDLModuleData class

-initWithSeatControlData:

Constructs a newly allocated SDLModuleData object with seat control data

Objective-C

- (nonnull instancetype)initWithSeatControlData:
    (nonnull SDLSeatControlData *)seatControlData;

Swift

init(seatControlData: SDLSeatControlData)

Parameters

seatControlData

The seat control data

Return Value

An instance of the SDLModuleData class

moduleType

The moduleType indicates which type of data should be changed and identifies which data object exists in this struct.

For example, if the moduleType is CLIMATE then a “climateControlData” should exist

Required

Objective-C

@property (nonatomic, strong) SDLModuleType _Nonnull moduleType;

Swift

var moduleType: SDLModuleType { get set }

moduleId

Id of a module, published by System Capability.

Optional

Objective-C

@property (nonatomic, strong, nullable) NSString *moduleId;

Swift

var moduleId: String? { get set }

radioControlData

The radio control data

Optional

Objective-C

@property (nonatomic, strong, nullable) SDLRadioControlData *radioControlData;

Swift

var radioControlData: SDLRadioControlData? { get set }

climateControlData

The climate control data

Optional

Objective-C

@property (nonatomic, strong, nullable) SDLClimateControlData *climateControlData;

Swift

var climateControlData: SDLClimateControlData? { get set }

seatControlData

The seat control data

Optional

Objective-C

@property (nonatomic, strong, nullable) SDLSeatControlData *seatControlData;

Swift

var seatControlData: SDLSeatControlData? { get set }

audioControlData

The audio control data

Optional

Objective-C

@property (nonatomic, strong, nullable) SDLAudioControlData *audioControlData;

Swift

var audioControlData: SDLAudioControlData? { get set }

lightControlData

The light control data

Optional

Objective-C

@property (nonatomic, strong, nullable) SDLLightControlData *lightControlData;

Swift

var lightControlData: SDLLightControlData? { get set }

hmiSettingsControlData

The hmi control data

Optional

Objective-C

@property (nonatomic, strong, nullable) SDLHMISettingsControlData *hmiSettingsControlData;

Swift

var hmiSettingsControlData: SDLHMISettingsControlData? { get set }
View on GitHub.com
Previous Section Next Section