A player state implementation for when the video is stopped. The current implementation of "stopped" is paused with the playhead at 0.
Constructors
StoppedState(videoController:
VideoController)
Instance Methods
Defined in: com.google.ads.studio.video:AbstractPlayerState
getStateType()
:
String
Returns the player state as a string such as "InitialState",
"BufferingState", "LoadingState",
"PausedState", "PlayingState", or
"StoppedState". It is encouraged to use
videoController.getPlayerState() and match against the
relevant class using instanceof or is.
pause(alwaysPause:Boolean=false)
:
AbstractPlayerStateThe pause command implementation for the current state.
play()
:
AbstractPlayerStateThe play command implementation for the current state.
seek(time:Number)
:
AbstractPlayerStateThe seek command implementation for the current state.
stop()
:
AbstractPlayerStateThe stop command implementation for the current state.
Defined in com.google.ads.studio.video:StoppedState
play()
:
AbstractPlayerStateThe play command implementation for the current state.
seek(time:Number)
:
AbstractPlayerStateThe seek command implementation for the current state.
