SecondarySessionStateCallback
@RequiresApi(value = 26) interface SecondarySessionStateCallback extends SessionStateCallback
Clients of Sessions should implement SecondarySessionStateCallback to receive notifications of Session state changes when acting as the Secondary for a shared Session.
Provide your implementation in Sessions.getSecondarySession.
Summary
| Public methods | |
|---|---|
| abstract void | onSecondarySessionCleanup(@NonNull SessionId sessionId)Called when a  | 
Public methods
onSecondarySessionCleanup
abstract void onSecondarySessionCleanup(@NonNull SessionId sessionId)
Called when a SecondarySession can no longer be connected to a Primary. Continued use of the SecondarySession will return SessionException on all method calls because it is no longer valid.
