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 Type
    Method
    Description
    void
    Called when the seekbar was released
    void
    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 to
      seekBarProgressPercent - Value 0 <= value <= 1.0 that indicates the selected progress
    • onSeekbarReleased

      void onSeekbarReleased()
      Called when the seekbar was released