Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

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 (readwrite, strong, nonatomic) SDLModuleType _Nonnull moduleType;

Swift

var moduleType: SDLModuleType { get set }

radioControlData

The radio control data

Optional

Objective-C

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

Swift

var radioControlData: SDLRadioControlData? { get set }

climateControlData

The climate control data

Optional

Objective-C

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

Swift

var climateControlData: SDLClimateControlData? { get set }

seatControlData

The seat control data

Optional

Objective-C

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

Swift

var seatControlData: SDLSeatControlData? { get set }

audioControlData

The audio control data

Optional

Objective-C

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

Swift

var audioControlData: SDLAudioControlData? { get set }

lightControlData

The light control data

Optional

Objective-C

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

Swift

var lightControlData: SDLLightControlData? { get set }

hmiSettingsControlData

The hmi control data

Optional

Objective-C

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

Swift

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