Class BrightcoveSeekBarController

java.lang.Object
com.brightcove.player.event.AbstractComponent
com.brightcove.player.mediacontroller.BrightcoveSeekBarController
All Implemented Interfaces:
AccessibilityListener, Component

@ListensFor(events={"setMarkers","bufferedUpdate","hideSeekControls","showSeekControls","seekTo","didSeekTo","didSetVideo","seekbarDraggingStart","seekbarDraggingProgress","seekbarDraggingStop","willResumeContent"}) @Emits(events={"showMediaControls","seekbarDraggingStop","seekbarDraggingProgress","seekbarDraggingStart"}) public class BrightcoveSeekBarController extends AbstractComponent implements AccessibilityListener
Abstracts the seekbar operations and provides a helper class for the seekbar in general.
  • Constructor Details

    • BrightcoveSeekBarController

      public BrightcoveSeekBarController(@NonNull BrightcoveSeekBar seekBar, @NonNull BaseVideoView videoView)
      Builds the seek bar controller.
      Parameters:
      seekBar - The seek bar object being helped.
      videoView - The SDK base video view.
  • Method Details

    • isDragging

      public boolean isDragging()
      Obtains the dragging state.
      Returns:
      TRUE iff the User is currently performing a dragging operation.
    • setDragging

      public void setDragging(boolean value)
      Sets the dragging state. TRUE iff the User is currently performing a dragging operation.
    • onAccessibilityStateChanged

      public void onAccessibilityStateChanged(boolean enabled)
      Description copied from interface: AccessibilityListener
      Called back on change in the accessibility state.
      Specified by:
      onAccessibilityStateChanged in interface AccessibilityListener
      Parameters:
      enabled - Whether accessibility is enabled.