Handlers

data class Handlers(val handshakeResult: MutableLiveData<HandshakeResult> = MutableLiveData(), val luidState: MutableLiveData<ParcelUuid> = MutableLiveData(), val desktopPairing: MutableLiveData<PairingState> = MutableLiveData(), val routerState: MutableLiveData<RouterState> = MutableLiveData(), val callbacks: ConcurrentHashMap<suspend (HandshakeResult) -> Unit, Boolean> = ConcurrentHashMap())

Constructors

Link copied to clipboard
constructor(handshakeResult: MutableLiveData<HandshakeResult> = MutableLiveData(), luidState: MutableLiveData<ParcelUuid> = MutableLiveData(), desktopPairing: MutableLiveData<PairingState> = MutableLiveData(), routerState: MutableLiveData<RouterState> = MutableLiveData(), callbacks: ConcurrentHashMap<suspend (HandshakeResult) -> Unit, Boolean> = ConcurrentHashMap())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun addOnReceiveCallback(func: suspend (HandshakeResult) -> Unit)
Link copied to clipboard