[LifecycleConfigurationUpdate, null]
[LifecycleConfigurationUpdate, null]
Boolean
SdlManagerListener
SdlManagerListener
SdlManagerListener
SdlManagerListener
SdlManagerListener
SdlManagerListener
[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
Param | Type | Description |
---|---|---|
language | Language |
A Language enum value. |
[LifecycleConfigurationUpdate, null]
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.
Kind: Instance method of SdlManagerListener
Returns: [LifecycleConfigurationUpdate, null]
- A reference to LifecycleConfigurationUpdate instance or null
Param | Type | Description |
---|---|---|
language | Language |
The VR+TTS language of the connected head unit the manager is trying to update the configuration. |
hmiLanguage | Language |
The HMI display language of the connected head unit the manager is trying to update the configuration. |
Safely attempts to invoke the OnDestroy event callback function.
Kind: Instance method of SdlManagerListener
Param | Type | Description |
---|---|---|
sdlManager | SdlManager |
A reference to an SdlManager instance. |
Safely attempts to invoke the OnError event callback function.
Kind: Instance method of SdlManagerListener
Param | Type | Description |
---|---|---|
sdlManager | SdlManager |
A reference to an SdlManager instance. |
info | String |
Information about the error |
Safely attempts to invoke the OnStart event callback function.
Kind: Instance method of SdlManagerListener
Param | Type | Description |
---|---|---|
sdlManager | SdlManager |
A reference to an SdlManager instance. |
Boolean
Safely attempts to invoke the onSystemInfoReceived event.
Kind: Instance method of SdlManagerListener
Returns: Boolean
Return true if this session should continue, false if the session should end
Param | Type | Description |
---|---|---|
systemInfo | SystemInfo |
the system info of vehicle that this session is currently active on. |
SdlManagerListener
Set the ManagerShouldUpdateLifecycle event callback function.
Kind: Instance method of SdlManagerListener
Returns: SdlManagerListener
- A reference to this instance to support method chaining.
Param | Type | Description |
---|---|---|
callback | function |
A function to invoke when the event is triggered. |
SdlManagerListener
Set the ManagerShouldUpdateLifecycleToLanguage event callback function.
Kind: Instance method of SdlManagerListener
Returns: SdlManagerListener
- A reference to this instance to support method chaining.
Param | Type | Description |
---|---|---|
callback | function |
A function to invoke when the event is triggered. |
SdlManagerListener
Set the OnDestroy event callback function.
Kind: Instance method of SdlManagerListener
Returns: SdlManagerListener
- A reference to this instance to support method chaining.
Param | Type | Description |
---|---|---|
callback | function |
A function to invoke when the event is triggered. |
SdlManagerListener
Set the OnError event callback function.
Kind: Instance method of SdlManagerListener
Returns: SdlManagerListener
- A reference to this instance to support method chaining.
Param | Type | Description |
---|---|---|
callback | function |
A function to invoke when the event is triggered. |
SdlManagerListener
Set the OnStart event callback function.
Kind: Instance method of SdlManagerListener
Returns: SdlManagerListener
- A reference to this instance to support method chaining.
Param | Type | Description |
---|---|---|
callback | function |
A function to invoke when the event is triggered. |
SdlManagerListener
Set the onSystemInfoReceived function.
Kind: Instance method of SdlManagerListener
Returns: SdlManagerListener
- A reference to this instance to allow method chaining.
Param | Type | Description |
---|---|---|
listener | function |
A function to be invoked when the event occurs. |