Searched defs:PlaybackGlue (Results 1 - 1 of 1) sorted by relevance

/frameworks/support/leanback/src/main/java/androidx/leanback/media/
H A DPlaybackGlue.java27 * Base class for abstraction of media play/pause feature. A subclass of PlaybackGlue will contain
29 * PlaybackGlue subclass, associated it with a {@link PlaybackGlueHost}. {@link PlaybackGlueHost}
31 * for PlaybackGlue object, it optionally provides SurfaceHolder via {@link SurfaceHolderGlueHost}
32 * to render video. A typical PlaybackGlue should release resources (e.g. MediaPlayer or connection
39 * In rare case if an PlaybackGlue wants to live outside fragment / activity life cycle, it may
44 public abstract class PlaybackGlue { class
54 * @param glue The PlaybackGlue that has changed {@link #isPrepared()}.
56 public void onPreparedStateChanged(PlaybackGlue glue) {
61 * @param glue The PlaybackGlue that has changed playing or pausing state.
63 public void onPlayStateChanged(PlaybackGlue glu
79 public PlaybackGlue(Context context) { method in class:PlaybackGlue
[all...]

Completed in 46 milliseconds