ReceivingSessionStateCallback


@RequiresApi(value = 26) interface ReceivingSessionStateCallback extends 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 methods

abstract void
onTransferFailure(
    @NonNull SessionId sessionId,
    @NonNull SessionException exception
)

Called when transfer cannot complete.

Public methods

onTransferFailure

abstract void onTransferFailure(
    @NonNull SessionId sessionId,
    @NonNull SessionException exception
)

Called when transfer cannot complete. Failure reason described by errorCode