-
public interface PreviewBar.OnScrubListenerListener for Preview scrub events
-
-
Method Summary
Modifier and Type Method Description abstract voidonScrubStart(PreviewBar previewBar)Is called when the user started scrubbing this PreviewBar abstract voidonScrubMove(PreviewBar previewBar, int progress, boolean fromUser)Is called when this PreviewBar is being scrubbed by the user or manually. abstract voidonScrubStop(PreviewBar previewBar)Is called when the user stopped scrubbing this PreviewBar -
-
Method Detail
-
onScrubStart
abstract void onScrubStart(PreviewBar previewBar)
Is called when the user started scrubbing this PreviewBar
- Parameters:
previewBar- the PreviewBar that started being scrubbed
-
onScrubMove
abstract void onScrubMove(PreviewBar previewBar, int progress, boolean fromUser)
Is called when this PreviewBar is being scrubbed by the user or manually.
- Parameters:
previewBar- the PreviewBar that was scrubbedprogress- the current progressfromUser- true if this event was triggered by the user or false otherwise
-
onScrubStop
abstract void onScrubStop(PreviewBar previewBar)
Is called when the user stopped scrubbing this PreviewBar
- Parameters:
previewBar- the PreviewBar that was scrubbed
-
-
-
-