The VpaidEvent class is used to create events that are fired by the VpaidEnabler and VpaidAdaptor.
Constants
Name | Value | Description |
---|---|---|
CLICK_THRU | AdClickThru |
The VpaidEvent.CLICK_THRU property defines the value of the
|
DURATION_CHANGE | AdDurationChange |
The VpaidEvent.DURATION_CHANGE property defines the value of the
|
ERROR | AdError |
The VpaidEvent.ERROR property defines the value of the
|
EXPANDED_CHANGE | AdExpandedChange |
The VpaidEvent.EXPANDED_CHANGE property defines the value of the
|
IMPRESSION | AdImpression |
The VpaidEvent.IMPRESSION property defines the value of the
|
INTERACTION | AdInteraction |
The VpaidEvent.INTERACTION property defines the value of the
|
LINEAR_CHANGE | AdLinearChange |
The VpaidEvent.LINEAR_CHANGE property defines the value of the
|
LOADED | AdLoaded |
The VpaidEvent.LOADED property defines the value of the
|
LOG | AdLog |
The VpaidEvent.LOG property defines the value of the
|
PAUSED | AdPaused |
The VpaidEvent.PAUSED property defines the value of the
|
PLAYING | AdPlaying |
The VpaidEvent.PLAYING property defines the value of the
|
REMAINING_TIME_CHANGE | AdRemainingTimeChange |
The VpaidEvent.REMAINING_TIME_CHANGE property defines the value of the
|
SIZE_CHANGE | AdSizeChange |
The VpaidEvent.SIZE_CHANGE property defines the value of the
|
SKIPPABLE_STATE_CHANGE | AdSkippableStateChange |
The VpaidEvent.SKIPPABLE_STATE_CHANGE property defines the value of the
|
SKIPPED | AdSkipped |
The VpaidEvent.SKIPPED property defines the value of the
|
STARTED | AdStarted |
The VpaidEvent.STARTED property defines the value of the
|
STOPPED | AdStopped |
The VpaidEvent.STOPPED property defines the value of the
|
USER_ACCEPT_INVITATION | AdUserAcceptInvitation |
The VpaidEvent.USER_ACCEPT_INVITATION property defines the value of the
|
USER_CLOSE | AdUserClose |
The VpaidEvent.USER_CLOSE property defines the value of the
|
USER_MINIMIZE | AdUserMinimize |
The VpaidEvent.USER_MINIMIZE property defines the value of the
|
VIDEO_COMPLETE | AdVideoComplete |
The VpaidEvent.VIDEO_COMPLETE property defines the value of the
|
VIDEO_FIRST_QUARTILE | AdVideoFirstQuartile |
The VpaidEvent.VIDEO_FIRST_QUARTILE property defines the value of the
|
VIDEO_MIDPOINT | AdVideoMidpoint |
The VpaidEvent.VIDEO_MIDPOINT property defines the value of the
|
VIDEO_START | AdVideoStart |
The VpaidEvent.VIDEO_START property defines the value of the
|
VIDEO_THIRD_QUARTILE | AdVideoThirdQuartile |
The VpaidEvent.VIDEO_THIRD_QUARTILE property defines the value of the
|
VOLUME_CHANGE | AdVolumeChange |
The VpaidEvent.VOLUME_CHANGE property defines the value of the
|
Properties
Name | Type | Description | Default |
---|---|---|---|
data | Object | Getter for the data property of the VPAID event. |
|
Constructors
VpaidEvent(type:String, id:String=null, url:String=null, playerHandles:Boolean=false, message:String=null)
Creates a VpaidEvent object to pass as a parameter to event listeners.
Static Methods
VpaidEvent.createClickThruEvent(url:String, id:String, playerHandles:Boolean)
:
VpaidEvent
Factory method to create a new AdClickThru VpaidEvent.
VpaidEvent.createErrorEvent(message:String)
:
VpaidEvent
Factory method to create a new AdError VpaidEvent.
VpaidEvent.createEvent(type:String)
:
VpaidEvent
Factory method to create a generic VpaidEvent.
VpaidEvent.createInteractionEvent(id:String)
:
VpaidEvent
Factory method to create a new AdInteraction VpaidEvent.
VpaidEvent.createLogEvent(message:String)
:
VpaidEvent
Factory method to create a new AdLog VpaidEvent.