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

Interface SdlManagerListener

All Superinterfaces



Called when a manager is ready for use

public void onStart()


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)

Method Parameters

info regarding the error
the exception

managerShouldUpdateLifecycle( Language language, Language hmiLanguage )

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,Language hmiLanguage)

Method Parameters

The VR+TTS language of the connected head unit the manager is trying to update the configuration.
The HMI display language of the connected head unit the manager is trying to update the configuration.

onSystemInfoReceived( SystemInfo systemInfo )

A way to determine if this SDL session should continue to be active while connected to the determined system information of the vehicle.

public boolean onSystemInfoReceived(SystemInfo systemInfo)

Method Parameters

systemInfo - the system information of the vehicle that this session is currently active on.
View on GitHub.com
Previous Section Next Section