BinderContext
fun BinderContext(lifecycleOwner: LifecycleOwner, messageDispatchFailureListener: BinderMessageDispatchFailureListener, syncBinderTransactionScope: CoroutineScope? = null)
Parameters
lifecycleOwner
The lifecycle owner of the binder interface.
messageDispatchFailureListener
Called on message dispatch failures.
syncBinderTransactionScope
Scope to use for performing sync binder transaction to start functions with a async reply. May be null
when the binder interface does not perform such binder transactions.