Added in API level 36
InterfaceDiedCallback
interface InterfaceDiedCallback<E : IInterface!>
| android.os.RemoteCallbackList.Builder.InterfaceDiedCallback |
For notifying when the process hosting a callback interface has died.
Summary
| Public methods | |
|---|---|
| abstract Unit |
onInterfaceDied(remoteCallbackList: RemoteCallbackList<E>, deadInterface: E, cookie: Any?)Invoked when a callback interface has died. |
Public methods
onInterfaceDied
Added in API level 36
abstract fun onInterfaceDied(
remoteCallbackList: RemoteCallbackList<E>,
deadInterface: E,
cookie: Any?
): Unit
Invoked when a callback interface has died.
| Parameters | |
|---|---|
remoteCallbackList |
RemoteCallbackList<E>: the list that the interface was registered with. This value cannot be null. |
deadInterface |
E: the interface that has died. |
cookie |
Any?: the cookie specified on interface registration. This value may be null. |