Package com.castlabs.sdk.mediasession
Interface SessionCallbackBuilder.PostConnectCallback
- Enclosing class:
SessionCallbackBuilder
public static interface SessionCallbackBuilder.PostConnectCallback
Callback for handling extra initialization after the connection.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onPostConnect
(androidx.media2.session.MediaSession session, androidx.media2.session.MediaSession.ControllerInfo controllerInfo) Called after the specified controller is connected, and you need extra initialization.
-
Method Details
-
onPostConnect
void onPostConnect(androidx.media2.session.MediaSession session, androidx.media2.session.MediaSession.ControllerInfo controllerInfo) Called after the specified controller is connected, and you need extra initialization.- Parameters:
session
- The media session.controllerInfo
- TheMediaSession.ControllerInfo
for the controller that just connected.- See Also:
-