Package com.google.android.exoplayer2.ext.media2
-
Interface Summary Interface Description MediaItemConverter Converts betweenMedia2 MediaItemandExoPlayer 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.SessionCallbackwith various collaborators.SessionCallbackBuilder.DefaultAllowedCommandProvider Default implementation ofSessionCallbackBuilder.AllowedCommandProviderthat 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.MediaItemProviderthat creates media items containing only a media ID.SessionPlayerConnector An implementation ofSessionPlayerthat wraps a given ExoPlayerPlayerinstance.