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
SDLHMISettingsControlData

SDLHMISettingsControlData Class Reference

Section Contents

Overview

Corresponds to “HMI_SETTINGS” ModuleType

-initWithDisplaymode:temperatureUnit:distanceUnit:

Constructs a newly allocated SDLHMISettingsControlCapabilities object with given parameters

Objective-C

- (nonnull instancetype)
    initWithDisplaymode:(nonnull SDLDisplayMode)displayMode
        temperatureUnit:(nonnull SDLTemperatureUnit)temperatureUnit
           distanceUnit:(nonnull SDLDistanceUnit)distanceUnit;

Swift

init(displaymode displayMode: SDLDisplayMode, temperatureUnit: SDLTemperatureUnit, distanceUnit: SDLDistanceUnit)

Parameters

displayMode

Display Mode used in HMI setting

temperatureUnit

temperature unit used in HMI setting

distanceUnit

distance unit used in HMI setting

Return Value

An instance of the SDLHMISettingsControlCapabilities class

displayMode

@abstract Display the Display Mode used HMI setting

Optional, SDLDisplayMode

Objective-C

@property (nonatomic, strong, nullable) SDLDisplayMode displayMode;

Swift

var displayMode: SDLDisplayMode? { get set }

temperatureUnit

@abstract Display the temperature unit used HMI setting

Optional, SDLTemperatureUnit

Objective-C

@property (nonatomic, strong, nullable) SDLTemperatureUnit temperatureUnit;

Swift

var temperatureUnit: SDLTemperatureUnit? { get set }

distanceUnit

@abstract Display the distance unit used HMI setting

Optional, SDLDistanceUnit

Objective-C

@property (nonatomic, strong, nullable) SDLDistanceUnit distanceUnit;

Swift

var distanceUnit: SDLDistanceUnit? { get set }
View on GitHub.com
Previous Section Next Section