SdkSandboxProcessDeathCallback
interfaceSdkSandboxProcessDeathCallback
| android.app.sdksandbox.SdkSandboxManager.SdkSandboxProcessDeathCallback |
A callback for tracking events SDK sandbox death.
The callback can be added using SdkSandboxManager.addSdkSandboxProcessDeathCallback(Executor, SdkSandboxProcessDeathCallback) and removed using SdkSandboxManager.removeSdkSandboxProcessDeathCallback(SdkSandboxProcessDeathCallback)
Summary
| Public methods | |
|---|---|
| abstract Unit |
Notifies the client application that the SDK sandbox has died. |
Public methods
onSdkSandboxDied
abstract funonSdkSandboxDied(): Unit
Deprecated: Deprecated in Java.
Notifies the client application that the SDK sandbox has died. The sandbox could die for various reasons, for example, due to memory pressure on the system, or a crash in the sandbox. The system will automatically restart the sandbox process if it died due to a crash. However, the state of the sandbox will be lost - so any SDKs that were loaded previously would have to be loaded again, using SdkSandboxManager.loadSdk(String, Bundle, Executor, OutcomeReceiver) to continue using them.