Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

PlaybackGlue.PlayerCallback

public static abstract class PlaybackGlue.PlayerCallback
extends Object

java.lang.Object
   ↳ androidx.leanback.media.PlaybackGlue.PlayerCallback


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

Summary

Public constructors

PlayerCallback()

Public methods

void onPlayCompleted(PlaybackGlue glue)

Event of the current media is finished.

void onPlayStateChanged(PlaybackGlue glue)

Event for Play/Pause state change.

void onPreparedStateChanged(PlaybackGlue glue)

Event for PlaybackGlue.isPrepared() changed.

Inherited methods

Public constructors

PlayerCallback

public PlayerCallback ()

Public methods

onPlayCompleted

public void onPlayCompleted (PlaybackGlue glue)

Event of the current media is finished.

Parameters
glue PlaybackGlue: The PlaybackGlue that has finished current media playing.

onPlayStateChanged

public void onPlayStateChanged (PlaybackGlue glue)

Event for Play/Pause state change. See PlaybackGlue.isPlaying()}.

Parameters
glue PlaybackGlue: The PlaybackGlue that has changed playing or pausing state.

onPreparedStateChanged

public void onPreparedStateChanged (PlaybackGlue glue)

Event for PlaybackGlue.isPrepared() changed.

Parameters
glue PlaybackGlue: The PlaybackGlue that has changed PlaybackGlue.isPrepared().