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

Interface SdlManagerListener

Package
com.smartdevicelink.managers
All Superinterfaces
com.smartdevicelink.managers.BaseSdlManagerListener

Methods

onStart()

Called when a manager is ready for use

public void onStart()

onDestroy()

Called when the manager is destroyed

public void onDestroy()

onError( String info, Exception e )

Called when the manager encounters an error

public void onError(String info,Exception e)

Parameters

info
info regarding the error
e
the exception

managerShouldUpdateLifecycle( Language language )

Called when the SDL manager detected a language mismatch. In case of a language mismatch the manager should change the apps registration by updating the lifecycle configuration to the specified language. If the app can support the specified language it should return an Object of LifecycleConfigurationUpdate, otherwise it should return null to indicate that the language is not supported.

public com.smartdevicelink.managers.lifecycle.LifecycleConfigurationUpdate managerShouldUpdateLifecycle(Language language)

Parameters

language
The language of the connected head unit the manager is trying to update the configuration.
View on GitHub.com
Previous Section Next Section