DoubleClick Studio AS3 API Reference

class com.google.ads.studio.video.TransitionState

Extends com.google.ads.studio.video:AbstractPlayerState

A player state implementation for when the player is in an asynchronous transition. The video controller will not execute any queued commands until the transition is complete.

Constructors

Expand
TransitionState(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.

Expand
pause(alwaysPause:Boolean=false) : AbstractPlayerState

The pause command implementation for the current state.

play() : AbstractPlayerState

The play command implementation for the current state.

Expand
seek(time:Number) : AbstractPlayerState

The seek command implementation for the current state.

stop() : AbstractPlayerState

The stop command implementation for the current state.

Defined in com.google.ads.studio.video:TransitionState

Expand
finishTransition(state: AbstractPlayerState) : void

The method to call when the transition is complete.

Expand
runInSeparateContext(closure:Function) : void

Executes a closure in a separate execution context yet in this scope.

Back to top

  1. com.google.ads.studio
    1. AssetLoader
    2. ContextualDiscovery
    3. F2fEnabler
    4. FullScreenButton
    5. HtmlEnabler
    6. ProxyEnabler
    7. VpaidEnabler
  1. com.google.ads.studio.configurable
    1. Configurable
  1. com.google.ads.studio.display
    1. StudioLoader
  1. com.google.ads.studio.events
    1. StudioEvent
    2. StudioVideoEvent
  1. com.google.ads.studio.expanding
    1. Expanding
  1. com.google.ads.studio.localconnect
    1. LocalConnectWrapper
  1. com.google.ads.studio.video
    1. ConfigurableVideoPlayer
    2. EnhancedVideoController
    3. PlayPauseButton
    4. Playlist
    5. Scrubber
    6. SoundToggleButton
    7. VideoController
    8. VideoEntry
    9. VideoPlayer
    10. VideoPlayerAdvanced
  1. com.google.ads.studio.vpaid
    1. VpaidTimer