DoubleClick Studio AS3 API Reference

class com.google.ads.studio.video.VideoEventDispatcher

Monitors a NetStream and its sound transform to dispatch various events regarding playback and sound state. Also protects the NetStream object from having its callbacks overwritten by a user.

Expand Events

Instance Methods

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

Expand
addAllEventsListener(handler:Function) : void

Convenience method that adds a handler to all events.

invokeImmediateMonitorIteration() : void

This method invokes an immediate iteration of the playhead and sound monitor. This is useful for the StudioTrackingManager when you want any events between stopTracking and startTracking to be discarded.

Expand
monitorNetStream(netStream:flash.net:NetStream) : void

Monitors a netstream object. This method also watches the callbacks to prevent ours from being written over. If the onStatus or onMetaData callback is overwritten, it is stored and called when an subsequent event occurs.

Expand
removeAllEventsListener(handler:Function) : void

Convenience method that removes a handler from all events.

unload() : void

Unloads the VideoEventDispatcher instance and stops the watches on the netStream objects.

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