Package com.castlabs.sdk.playerui
Interface PlayerControllerView.SeekBarListener
- Enclosing class:
PlayerControllerView
public static interface PlayerControllerView.SeekBarListener
Listener interface that can be implemented to receive callbacks when the seekbar
is scrubbed.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when the seekbar was releasedvoid
onSeekbarScrubbed
(long positionUs, double seekBarProgressPercent) Called while the seek bar is scrubbed
-
Method Details
-
onSeekbarScrubbed
void onSeekbarScrubbed(long positionUs, double seekBarProgressPercent) Called while the seek bar is scrubbed- Parameters:
positionUs
- The current position the seek bar points toseekBarProgressPercent
- Value 0 <= value <= 1.0 that indicates the selected progress
-
onSeekbarReleased
void onSeekbarReleased()Called when the seekbar was released
-