Stay organized with collections Save and categorize content based on your preferences.

SessionStateCallback

@RequiresApi(value = 26) interface SessionStateCallback

Known direct subclasses
OriginatingSessionStateCallback

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

PrimarySessionStateCallback

Clients of Sessions should implement PrimarySessionStateCallback to receive notifications of Session state changes when acting as the Primary for a Shared Session.

ReceivingSessionStateCallback

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

SecondarySessionStateCallback

Clients of Sessions should implement SecondarySessionStateCallback to receive notifications of Session state changes when acting as the Secondary for a shared Session.


Grants access to client-provided callbacks OriginatingSessionStateCallback, ReceivingSessionStateCallback, PrimarySessionStateCallback and SecondarySessionStateCallback.