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
SDLLifecycleConfigurationUpdate

SDLLifecycleConfigurationUpdate Class Reference

Section Contents

Overview

Configuration update options for SDLManager. This class can be used to update the lifecycle configuration in cases the language of the head unit changes or does not match the app language.

appName

The full name of the app to that the configuration should be updated to.

Objective-C

@property (nonatomic, copy, nullable) NSString *appName;

Swift

var appName: String? { get set }

shortAppName

An abbrevited application name that will be used on the app launching screen if the full one would be truncated.

Objective-C

@property (nonatomic, copy, nullable) NSString *shortAppName;

Swift

var shortAppName: String? { get set }

ttsName

A Text to Speech String for voice recognition of the mobile application name.

Objective-C

@property (nonatomic, copy, nullable) NSArray<SDLTTSChunk *> *ttsName;

Swift

var ttsName: [SDLTTSChunk]? { get set }

voiceRecognitionCommandNames

Additional voice recognition commands. May not interfere with any other app name or global commands.

Objective-C

@property (nonatomic, copy, nullable) NSArray<NSString *> *voiceRecognitionCommandNames;

Swift

var voiceRecognitionCommandNames: [String]? { get set }

-initWithAppName:shortAppName:ttsName:voiceRecognitionCommandNames:

Initializes and returns a newly allocated lifecycle configuration update object with the specified app data. This is a convenience initializer for -init.

Objective-C

- (nonnull instancetype)initWithAppName:(nullable NSString *)appName
                           shortAppName:(nullable NSString *)shortAppName
                                ttsName:
                                    (nullable NSArray<SDLTTSChunk *> *)ttsName
           voiceRecognitionCommandNames:
               (nullable NSArray<NSString *> *)voiceRecognitionCommandNames;

Swift

init(appName: String?, shortAppName: String?, ttsName: [SDLTTSChunk]?, voiceRecognitionCommandNames: [String]?)

Parameters

appName

The full name of the app to that the configuration should be updated to.

shortAppName

An abbrevited application name that will be used on the app launching screen if the full one would be truncated.

ttsName

A Text to Speech String for voice recognition of the mobile application name.

voiceRecognitionCommandNames

Additional voice recognition commands. May not interfere with any other app name or global commands.

View on GitHub.com
Previous Section Next Section