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
Android Documentation
LifecycleConfigurationUpdate

Class LifecycleConfigurationUpdate

Hierarchy

java.lang.Object

Package
com.smartdevicelink.managers.lifecycle

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.

Constructors

LifecycleConfigurationUpdate()

public LifecycleConfigurationUpdate()

LifecycleConfigurationUpdate( String appName, String shortAppName, java.util.Vector<com.smartdevicelink.proxy.rpc.TTSChunk> ttsName, java.util.Vector<java.lang.String> voiceRecognitionCommandNames )

Initializes and returns a newly allocated lifecycle configuration update object with the specified app data.

public LifecycleConfigurationUpdate(String appName,String shortAppName,java.util.Vector<com.smartdevicelink.proxy.rpc.TTSChunk> ttsName,java.util.Vector<java.lang.String> voiceRecognitionCommandNames)

Constructor Parameters

appName
The full name of the app to that the configuration should be updated to.
shortAppName
An abbreviated 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.

Methods

setAppName( String appName )

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

public void setAppName(String appName)

Method Parameters

appName

getAppName()

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

public java.lang.String getAppName()

setShortAppName( String shortAppName )

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

public void setShortAppName(String shortAppName)

Method Parameters

shortAppName

getShortAppName()

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

public java.lang.String getShortAppName()

setTtsName( java.util.Vector<com.smartdevicelink.proxy.rpc.TTSChunk> ttsName )

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

public void setTtsName(java.util.Vector<com.smartdevicelink.proxy.rpc.TTSChunk> ttsName)

Method Parameters

ttsName

getTtsName()

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

public java.util.Vector getTtsName()

setVoiceRecognitionCommandNames( java.util.Vector<java.lang.String> voiceRecognitionCommandNames )

public void setVoiceRecognitionCommandNames(java.util.Vector<java.lang.String> voiceRecognitionCommandNames)

Method Parameters

voiceRecognitionCommandNames

getVoiceRecognitionCommandNames()

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

public java.util.Vector getVoiceRecognitionCommandNames()

Inherited Methods

From Class Methods
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section