Package com.castlabs.sdk.mediasession
Interface SessionCallbackBuilder.DisconnectedCallback
- Enclosing class:
SessionCallbackBuilder
public static interface SessionCallbackBuilder.DisconnectedCallback
Callback for handling controller disconnection.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onDisconnected
(androidx.media2.session.MediaSession session, androidx.media2.session.MediaSession.ControllerInfo controllerInfo) Called when the specified controller is disconnected.
-
Method Details
-
onDisconnected
void onDisconnected(androidx.media2.session.MediaSession session, androidx.media2.session.MediaSession.ControllerInfo controllerInfo) Called when the specified controller is disconnected.- Parameters:
session
- The media session.controllerInfo
- TheMediaSession.ControllerInfo
for the disconnected controller.- See Also:
-