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
Documentation
SdlManagerListener

SdlManagerListener Class Reference

Constructors

Instance Methods

Constructors

new SdlManagerListener()

Initializes an instance of SdlManagerListener

Instance Methods

sdlManagerListener.managerShouldUpdateLifecycle(language) ⇒ [LifecycleConfigurationUpdate, null]

Safely attempts to invoke the ManagerShouldUpdateLifecycle event callback function.

Kind: Instance method of SdlManagerListener
Returns: [LifecycleConfigurationUpdate, null] - A reference to LifecycleConfigurationUpdate instance or null

ParamTypeDescription
language Language A Language enum value.

sdlManagerListener.onDestroy(sdlManager)

Safely attempts to invoke the OnDestroy event callback function.

Kind: Instance method of SdlManagerListener

ParamTypeDescription
sdlManager SdlManager A reference to an SdlManager instance.

sdlManagerListener.onError(sdlManager, info)

Safely attempts to invoke the OnError event callback function.

Kind: Instance method of SdlManagerListener

ParamTypeDescription
sdlManager SdlManager A reference to an SdlManager instance.
info String Information about the error

sdlManagerListener.onStart(sdlManager)

Safely attempts to invoke the OnStart event callback function.

Kind: Instance method of SdlManagerListener

ParamTypeDescription
sdlManager SdlManager A reference to an SdlManager instance.

sdlManagerListener.setManagerShouldUpdateLifecycle(callback) ⇒ SdlManagerListener

Set the ManagerShouldUpdateLifecycle event callback function.

Kind: Instance method of SdlManagerListener
Returns: SdlManagerListener - A reference to this instance to support method chaining.

ParamTypeDescription
callback function A function to invoke when the event is triggered.

sdlManagerListener.setOnDestroy(callback) ⇒ SdlManagerListener

Set the OnDestroy event callback function.

Kind: Instance method of SdlManagerListener
Returns: SdlManagerListener - A reference to this instance to support method chaining.

ParamTypeDescription
callback function A function to invoke when the event is triggered.

sdlManagerListener.setOnError(callback) ⇒ SdlManagerListener

Set the OnError event callback function.

Kind: Instance method of SdlManagerListener
Returns: SdlManagerListener - A reference to this instance to support method chaining.

ParamTypeDescription
callback function A function to invoke when the event is triggered.

sdlManagerListener.setOnStart(callback) ⇒ SdlManagerListener

Set the OnStart event callback function.

Kind: Instance method of SdlManagerListener
Returns: SdlManagerListener - A reference to this instance to support method chaining.

ParamTypeDescription
callback function A function to invoke when the event is triggered.
View on GitHub.com
Previous Section Next Section