services-api / com.keecker.services.interfaces / EphemeralServiceConnection / getBinder
getBinder
suspend fun getBinder():
IBinder
?
Returns a binder, waiting for the onServiceConnected callback if not already received. This suspending function can block forever if something went wrong when binding, it is intended to be used with a timeout.
Return a binder if the connection is alive, null if the connection is dead