androidx.leanback.media


Interfaces

SurfaceHolderGlueHost

Optional interface to be implemented by any subclass of PlaybackGlueHost that contains a android.view.SurfaceView.

Classes

MediaControllerAdapter

A helper class for implementing a adapter layer for MediaControllerCompat.

MediaControllerGlue

This class is deprecated.

Use MediaControllerAdapter with PlaybackTransportControlGlue or PlaybackBannerControlGlue.

MediaPlayerAdapter

This implementation extends the PlayerAdapter with a MediaPlayer.

PlaybackBannerControlGlue

A helper class for managing a PlaybackControlsRow being displayed in PlaybackGlueHost.

PlaybackBaseControlGlue

A base abstract class for managing a PlaybackControlsRow being displayed in PlaybackGlueHost.

PlaybackControlGlue

A helper class for managing a PlaybackControlsRow and PlaybackGlueHost that implements a recommended approach to handling standard playback control actions such as play/pause, fast forward/rewind at progressive speed levels, and skip to next/previous.

PlaybackGlue

Base class for abstraction of media play/pause feature.

PlaybackGlue.PlayerCallback

Interface to allow clients to take action once the video is ready to play and start stop.

PlaybackGlueHost

This class represents the UI (e.g. Fragment/Activity) hosting playback controls and defines the interaction between PlaybackGlue and the host.

PlaybackGlueHost.HostCallback

Callbacks triggered by the host(e.g. fragment) hosting the video controls/surface.

PlaybackGlueHost.PlayerCallback

Optional Client that implemented by PlaybackGlueHost to respond to player event.

PlaybackTransportControlGlue

A helper class for managing a PlaybackControlsRow being displayed in PlaybackGlueHost, it supports standard playback control actions play/pause, and skip next/previous.

PlayerAdapter

Base class that wraps underlying media player.

PlayerAdapter.Callback

Client for client of PlayerAdapter.