@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
eventEmitter, listenerTokens
Constructor and Description |
---|
BrightcoveSeekBarController(BrightcoveSeekBar seekBar,
BaseVideoView videoView)
Builds the seek bar controller.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isDragging()
Obtains the dragging state.
|
void |
onAccessibilityStateChanged(boolean enabled)
Called back on change in the accessibility state.
|
void |
setDragging(boolean value)
Sets the dragging state.
|
addListener, addOnceListener, getEventEmitter, removeListener, removeListeners
public BrightcoveSeekBarController(@NonNull BrightcoveSeekBar seekBar, @NonNull BaseVideoView videoView)
seekBar
- The seek bar object being helped.videoView
- The SDK base video view.public boolean isDragging()
TRUE
iff the User is currently performing a dragging operation.public void setDragging(boolean value)
TRUE
iff the User is currently performing a dragging operation.public void onAccessibilityStateChanged(boolean enabled)
AccessibilityListener
onAccessibilityStateChanged
in interface AccessibilityListener
enabled
- Whether accessibility is enabled.