[LifecycleConfigurationUpdate, null]
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. |
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. |
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 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. |