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

PlayerCallback

abstract class PlayerCallback
kotlin.Any
   ↳ 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

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

Public methods
open Unit

Event of the current media is finished.

open Unit

Event for Play/Pause state change.

open Unit

Event for isPrepared() changed.

Public constructors

<init>

PlayerCallback()

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

Public methods

onPlayCompleted

open fun onPlayCompleted(glue: PlaybackGlue!): Unit

Event of the current media is finished.

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

onPlayStateChanged

open fun onPlayStateChanged(glue: PlaybackGlue!): Unit

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

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

onPreparedStateChanged

open fun onPreparedStateChanged(glue: PlaybackGlue!): Unit

Event for isPrepared() changed.

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