protected class VideoControls.InternalListener extends java.lang.Object implements VideoControlsSeekListener, VideoControlsButtonListener
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
pausedForSeek |
| Modifier | Constructor and Description |
|---|---|
protected |
InternalListener() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
onFastForwardClicked()
Occurs when the Fast Forward button on the
VideoControls
is clicked. |
boolean |
onNextClicked()
Occurs when the Next button on the
VideoControls
is clicked |
boolean |
onPlayPauseClicked()
Occurs when the PlayPause button on the
VideoControls
is clicked |
boolean |
onPreviousClicked()
Occurs when the Previous button on the
VideoControls
is clicked |
boolean |
onRewindClicked()
Occurs when the Rewind button on the
VideoControls
is clicked. |
boolean |
onSeekEnded(long seekTime)
Occurs when the media has finalized the request to seek.
|
boolean |
onSeekStarted()
Occurs when the media has entered a state of waiting until the
VideoControlsSeekListener.onSeekEnded(long) is called. |
public boolean onPlayPauseClicked()
VideoControlsButtonListenerVideoControls
is clickedonPlayPauseClicked in interface VideoControlsButtonListenerpublic boolean onPreviousClicked()
VideoControlsButtonListenerVideoControls
is clickedonPreviousClicked in interface VideoControlsButtonListenerpublic boolean onNextClicked()
VideoControlsButtonListenerVideoControls
is clickedonNextClicked in interface VideoControlsButtonListenerpublic boolean onRewindClicked()
VideoControlsButtonListenerVideoControls
is clicked.onRewindClicked in interface VideoControlsButtonListenerpublic boolean onFastForwardClicked()
VideoControlsButtonListenerVideoControls
is clicked.onFastForwardClicked in interface VideoControlsButtonListenerpublic boolean onSeekStarted()
VideoControlsSeekListenerVideoControlsSeekListener.onSeekEnded(long) is called.onSeekStarted in interface VideoControlsSeekListenertrue if the state has been handledpublic boolean onSeekEnded(long seekTime)
VideoControlsSeekListenerVideoControlsSeekListener.onSeekStarted() or on its own.onSeekEnded in interface VideoControlsSeekListenerseekTime - The time in milliseconds to seek totrue if the seek has been handled