public static interface TimeBar.OnScrubListener
| Modifier and Type | Method and Description |
|---|---|
void |
onScrubMove(TimeBar timeBar,
long position)
Called when the user moves the scrubber.
|
void |
onScrubStart(TimeBar timeBar,
long position)
Called when the user starts moving the scrubber.
|
void |
onScrubStop(TimeBar timeBar,
long position,
boolean canceled)
Called when the user stops moving the scrubber.
|
void onScrubStart(TimeBar timeBar, long position)
timeBar - The time bar.position - The position of the scrubber, in milliseconds.void onScrubMove(TimeBar timeBar, long position)
timeBar - The time bar.position - The position of the scrubber, in milliseconds.void onScrubStop(TimeBar timeBar, long position, boolean canceled)
timeBar - The time bar.position - The position of the scrubber, in milliseconds.canceled - Whether scrubbing was canceled.