DoubleClick Studio AS3 API Reference

class com.google.ads.studio.video.StudioTrackingManager

A tracking manager that reports events to the Studio enabler. It listens for all the events using a VideoEventDispatcher that monitors a NetStream object and Sound object independent of the player.

Constants

NameValueDescription
VIDEO_EVENT_PREFIXEVENT_VIDEO_
VIDEO_INTERACTION_EVENTEVENT_VIDEO_INTERACTION
VIEW_TIMER_EVENT_NAMEEVENT_VIDEO_VIEW_TIMER

Static Methods

Expand
StudioTrackingManager.getInstance(reportingIdentifier:String) : StudioTrackingManager

Gets an instance of the StudioTrackingManager multiton with the reporting identifier as a key.

Instance Methods

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

getVideoEventDispatcher() : VideoEventDispatcher

Gets the VideoEventDispatcher the tracking manager is listening for events on.

initializeSession() : void

Initializes the tracking manager for a video session. This is important as only one tracking manager is created per reporting identifier, however there may be multiple usages of that identifier. We need to reset some variables states that are non-transient per session in order to ensure that the session is tracked properly.

Expand
setPlayOffsetTime(offsetTime:Number) : void

Sets the offset that should be added to the elapsed time of the video. This can be used when the video doesn't start playing at the beginning of the ad.

Expand
setPrimary(primary:Boolean) : void

Sets whether this StudioTrackingManager should report itself as the primary video when calling met events on the enabler. If true, causes the enabler to dispatch standard VAST events for this video.

Expand
startMonitoring(netStream:flash.net:NetStream, trackAsAutoPlay:Boolean=false) : void

Initiate monitoring on a NetStream and Sound object.

startTracking() : void

Start tracking the netStream and sound events. Default is to track the events.

stopTracking() : void

Stops tracking the netStream and sound events. Default is to track the events.

unload() : void

Unloads the tracking manager and preps it for garbage collection as best as possible.

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