services-api / com.keecker.services.interfaces / EphemeralServiceConnection / onServiceDisconnected

onServiceDisconnected

fun onServiceDisconnected(name: ComponentName?): Unit

Called when a connection to the Service has been lost. This typically happens when the process hosting the service has crashed or been killed. This does not remove the ServiceConnection itself – this binding to the service will remain active, and you will receive a call to {@link #onServiceConnected} when the Service is next running.

Parameters

name - The concrete component name of the service whose connection has been lost.