Package com.google.android.exoplayer2.ext.media2
-
Interface Summary Interface Description MediaItemConverter Converts betweenMedia2 MediaItem
andExoPlayer MediaItem
.SessionCallbackBuilder.AllowedCommandProvider Provides allowed commands forMediaController
.SessionCallbackBuilder.CustomCommandProvider Callbacks for querying what custom commands are supported, and for handling a custom command when a controller sends it.SessionCallbackBuilder.DisconnectedCallback Callback for handling controller disconnection.SessionCallbackBuilder.MediaItemProvider Provides theMediaItem
.SessionCallbackBuilder.PostConnectCallback Callback for handling extra initialization after the connection.SessionCallbackBuilder.RatingCallback Callback receiving a user rating for a specified media id.SessionCallbackBuilder.SkipCallback Callback receiving skip backward and skip forward. -
Class Summary Class Description DefaultMediaItemConverter Default implementation ofMediaItemConverter
.SessionCallbackBuilder Builds aMediaSession.SessionCallback
with various collaborators.SessionCallbackBuilder.DefaultAllowedCommandProvider Default implementation ofSessionCallbackBuilder.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.SessionCallbackBuilder.MediaIdMediaItemProvider ASessionCallbackBuilder.MediaItemProvider
that creates media items containing only a media ID.SessionPlayerConnector An implementation ofSessionPlayer
that wraps a given ExoPlayerPlayer
instance.