services-api / com.keecker.services.interfaces / PersistentServiceConnection / onNewServiceInstance
onNewServiceInstance
abstract fun onNewServiceInstance(lambda: suspend (
ServiceInterface
) ->
Unit
):
Unit
Called each time the service gets a new binder Indicates this is the first time that this connection talks to this particular service instance. It happens when you start the connection, and may happen again if the remote process dies or the app gets updated.