BinderMessageDispatchFailureListener

fun interface BinderMessageDispatchFailureListener

Called when dispatching a binder transaction resulted in an Exception.

Functions

Link copied to clipboard
abstract fun onFailure(    interfaceDescriptor: String,     transactionName: String,     exception: Exception)

Called when dispatching a binder transaction resulted in an exception.

Extensions

Link copied to clipboard
inline fun <R> BinderMessageDispatchFailureListener.withMessageDispatchFailureListener(    interfaceDescriptor: String,     transactionName: String,     block: () -> R): R

Calls BinderMessageDispatchFailureListener.onFailure when block throws an Exception. Any caught exception is rethrown.