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

SDLHMISettingsControlCapabilities Class Reference

Section Contents

Overview

Undocumented

-initWithModuleName:

Constructs a newly allocated SDLHMISettingsControlCapabilities object with moduleName

Objective-C

- (nonnull instancetype)initWithModuleName:(nonnull NSString *)moduleName;

Swift

init(moduleName: String)

Parameters

moduleName

The short friendly name of the hmi setting module

Return Value

An instance of the SDLHMISettingsControlCapabilities class

-initWithModuleName:distanceUnitAvailable:temperatureUnitAvailable:displayModeUnitAvailable:

Constructs a newly allocated SDLHMISettingsControlCapabilities object with given parameters

Objective-C

- (nonnull instancetype)initWithModuleName:(nonnull NSString *)moduleName
                     distanceUnitAvailable:(BOOL)distanceUnitAvailable
                  temperatureUnitAvailable:(BOOL)temperatureUnitAvailable
                  displayModeUnitAvailable:(BOOL)displayModeUnitAvailable;

Swift

init(moduleName: String, distanceUnitAvailable: Bool, temperatureUnitAvailable: Bool, displayModeUnitAvailable: Bool)

Parameters

moduleName

The short friendly name of the hmi setting module

distanceUnitAvailable

Availability of the control of distance unit.

temperatureUnitAvailable

Availability of the control of temperature unit.

displayModeUnitAvailable

Availability of the control of displayMode unit.

Return Value

An instance of the SDLHMISettingsControlCapabilities class

moduleName

@abstract The short friendly name of the hmi setting module. It should not be used to identify a module by mobile application.

Required, Max String length 100 chars

Objective-C

@property (readwrite, strong, nonatomic) NSString *_Nonnull moduleName;

Swift

var moduleName: String { get set }

distanceUnitAvailable

@abstract Availability of the control of distance unit.

Optional, Boolean

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *distanceUnitAvailable;

Swift

var distanceUnitAvailable: (NSNumber & SDLBool)? { get set }

temperatureUnitAvailable

@abstract Availability of the control of temperature unit.

Optional, Boolean

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *temperatureUnitAvailable;

Swift

var temperatureUnitAvailable: (NSNumber & SDLBool)? { get set }

displayModeUnitAvailable

@abstract Availability of the control of HMI display mode.

Optional, Boolean

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *displayModeUnitAvailable;

Swift

var displayModeUnitAvailable: (NSNumber & SDLBool)? { get set }
View on GitHub.com
Previous Section Next Section