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

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 (readwrite, strong, nonatomic, nullable) SDLDisplayMode displayMode;

Swift

var displayMode: SDLDisplayMode? { get set }

temperatureUnit

@abstract Display the temperature unit used HMI setting

Optional, SDLTemperatureUnit

Objective-C

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

Swift

var temperatureUnit: SDLTemperatureUnit? { get set }

distanceUnit

@abstract Display the distance unit used HMI setting

Optional, SDLDistanceUnit

Objective-C

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

Swift

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