Class 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 Detail

      • 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 Detail

      • 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.