Sets global property values
Since SmartDeviceLink 1.0
See SDLResetGlobalProperties
Initialize SetGlobalProperties with all possible items
- (nonnull instancetype)
initWithHelpText:(nullable NSString *)helpText
timeoutText:(nullable NSString *)timeoutText
vrHelpTitle:(nullable NSString *)vrHelpTitle
vrHelp:(nullable NSArray<SDLVRHelpItem *> *)vrHelp
menuTitle:(nullable NSString *)menuTitle
menuIcon:(nullable SDLImage *)menuIcon
keyboardProperties:(nullable SDLKeyboardProperties *)keyboardProperties
menuLayout:(nullable SDLMenuLayout)menuLayout;
init(helpText: String?, timeoutText: String?, vrHelpTitle: String?, vrHelp: [SDLVRHelpItem]?, menuTitle: String?, menuIcon: SDLImage?, keyboardProperties: SDLKeyboardProperties?, menuLayout: SDLMenuLayout?)
A string that will be turned into TTS chunks for the help prompt
A string that will be turned into TTS chunks for the timeout prompt
The title of the help interface prompt
The items of the help interface prompt
The title of the menu button
The icon on the menu button
The properties of a keyboard prompt
The layout of the top-level main menu
The SetGlobalProperties RPC
Convenience init for setting all possible global properties
- (nonnull instancetype)
initWithUserLocation:(nullable SDLSeatLocation *)userLocation
helpPrompt:(nullable NSArray<SDLTTSChunk *> *)helpPrompt
timeoutPrompt:(nullable NSArray<SDLTTSChunk *> *)timeoutPrompt
vrHelpTitle:(nullable NSString *)vrHelpTitle
vrHelp:(nullable NSArray<SDLVRHelpItem *> *)vrHelp
menuTitle:(nullable NSString *)menuTitle
menuIcon:(nullable SDLImage *)menuIcon
keyboardProperties:(nullable SDLKeyboardProperties *)keyboardProperties
menuLayout:(nullable SDLMenuLayout)menuLayout;
init(userLocation: SDLSeatLocation?, helpPrompt: [SDLTTSChunk]?, timeoutPrompt: [SDLTTSChunk]?, vrHelpTitle: String?, vrHelp: [SDLVRHelpItem]?, menuTitle: String?, menuIcon: SDLImage?, keyboardProperties: SDLKeyboardProperties?, menuLayout: SDLMenuLayout?)
- userLocation
- helpPrompt
- timeoutPrompt
- vrHelpTitle
- vrHelp
- menuTitle
- menuIcon
- keyboardProperties
- menuLayout
A SDLSetGlobalProperties object
Help prompt for when the user asks for help with an interface prompt
Optional
@property (nonatomic, strong, nullable) NSArray<SDLTTSChunk *> *helpPrompt;
var helpPrompt: [SDLTTSChunk]? { get set }
Help prompt for when an interface prompt times out
Optional, Array, at least 1 item
@property (nonatomic, strong, nullable) NSArray<SDLTTSChunk *> *timeoutPrompt;
var timeoutPrompt: [SDLTTSChunk]? { get set }
Sets a voice recognition Help Title
Optional
@property (nonatomic, strong, nullable) NSString *vrHelpTitle;
var vrHelpTitle: String? { get set }
Sets the items listed in the VR help screen used in an interaction started by Push to Talk
@since SmartDeviceLink 2.0
Optional
@property (nonatomic, strong, nullable) NSArray<SDLVRHelpItem *> *vrHelp;
var vrHelp: [SDLVRHelpItem]? { get set }
Text for the menu button label
Optional
@property (nonatomic, strong, nullable) NSString *menuTitle;
var menuTitle: String? { get set }
Icon for the menu button
Optional
@property (nonatomic, strong, nullable) SDLImage *menuIcon;
var menuIcon: SDLImage? { get set }
On-screen keyboard (perform interaction) configuration
Optional
@property (nonatomic, strong, nullable) SDLKeyboardProperties *keyboardProperties;
var keyboardProperties: SDLKeyboardProperties? { get set }
Location of the user’s seat. Default is driver’s seat location if it is not set yet
Optional
@property (nonatomic, strong, nullable) SDLSeatLocation *userLocation;
var userLocation: SDLSeatLocation? { get set }
The main menu layout. If this is sent while a menu is already on-screen, the head unit will change the display to the new layout type. See available menu layouts on DisplayCapabilities.menuLayoutsAvailable. Defaults to the head unit default.
@property (nonatomic, strong, nullable) SDLMenuLayout menuLayout;
var menuLayout: SDLMenuLayout? { get set }