services-api / / EphemeralServiceConnection / onBindingDied


fun onBindingDied(name: ComponentName?): Unit

Note: Since API 26. Not sure if it really gets called.

Called when the binding to this connection is dead. This means the interface will never receive another connection. The application will need to unbind and rebind the connection to activate it again. This may happen, for example, if the application hosting the service it is bound to has been updated.


name - The concrete component name of the service whose connection is dead.