All Classes and Interfaces
Class
Description
Media Session builder allowing customizations
MediaSessionPlugin integrates castLabs Player SDK with AndroidX Media2 session APIs.
Builds a
MediaSession.SessionCallback
with various collaborators.Provides allowed commands for
MediaController
.Callbacks for querying what custom commands are supported, and for handling a custom command
when a controller sends it.
Default implementation of
SessionCallbackBuilder.AllowedCommandProvider
that behaves as follows:
Accepts connection requests from controller if any of the following conditions are met:
Controller is in the same package as the session.Callback for handling controller disconnection.
A
SessionCallbackBuilder.MediaItemProvider
that creates media items containing only a media ID.Provides the
MediaItem
.Callback for handling extra initialization after the connection.
Callback receiving a user rating for a specified media id.
Callback receiving skip backward and skip forward.