Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.
added in version 26.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

PlaybackControlsRow.OnPlaybackProgressCallback

public static class PlaybackControlsRow.OnPlaybackProgressCallback
extends Object

java.lang.Object
   ↳ android.support.v17.leanback.widget.PlaybackControlsRow.OnPlaybackProgressCallback


Listener for progress or duration change.

Summary

Public constructors

PlaybackControlsRow.OnPlaybackProgressCallback()

Public methods

void onBufferedPositionChanged(PlaybackControlsRow row, long bufferedProgressMs)

Called when getBufferedPosition() changed.

void onCurrentPositionChanged(PlaybackControlsRow row, long currentTimeMs)

Called when getCurrentPosition() changed.

void onDurationChanged(PlaybackControlsRow row, long totalTime)

Called when getDuration() changed.

Inherited methods

From class java.lang.Object

Public constructors

PlaybackControlsRow.OnPlaybackProgressCallback

added in version 26.1.0
PlaybackControlsRow.OnPlaybackProgressCallback ()

Public methods

onBufferedPositionChanged

added in version 26.1.0
void onBufferedPositionChanged (PlaybackControlsRow row, 
                long bufferedProgressMs)

Called when getBufferedPosition() changed.

Parameters
row PlaybackControlsRow: The PlaybackControlsRow that buffered progress changed.

bufferedProgressMs long: Buffered time in milliseconds.

onCurrentPositionChanged

added in version 26.1.0
void onCurrentPositionChanged (PlaybackControlsRow row, 
                long currentTimeMs)

Called when getCurrentPosition() changed.

Parameters
row PlaybackControlsRow: The PlaybackControlsRow that current time changed.

currentTimeMs long: Current time in milliseconds.

onDurationChanged

added in version 26.1.0
void onDurationChanged (PlaybackControlsRow row, 
                long totalTime)

Called when getDuration() changed.

Parameters
row PlaybackControlsRow: The PlaybackControlsRow that total time changed.

totalTime long: Total time in milliseconds.