ReceivingSessionStateCallback


@RequiresApi(value = 26) interface ReceivingSessionStateCallback : SessionStateCallback


Clients of Sessions should implement ReceivingSessionStateCallback to receive notifications of Session state changes when transferring a Session.

Provide your implementation in Sessions.getReceivingSession.

Summary

Public functions

Unit
onTransferFailure(sessionId: SessionId, exception: SessionException)

Called when transfer cannot complete.

Public functions

onTransferFailure

fun onTransferFailure(sessionId: SessionId, exception: SessionException): Unit

Called when transfer cannot complete. Failure reason described by errorCode