class com.google.ads.studio.vpaid.VpaidEventReporter
VpaidEventReporter is the class responsible for reporting VPAID events to the ad server.
Properties
Name | Type | Description | Default |
---|---|---|---|
activityUrl | String |
| |
counterEvents | Object |
| |
exitEvents | Object |
| |
inPreview | Boolean |
| |
postUrl | String |
| |
standardEvents | Object |
| |
timerEvents | Object |
| |
vastEvents | Array |
| |
videoEvents | Object |
|
Constructors
VpaidEventReporter(actionCallback:Function, activityCallback:Function, customVariableCallback:Function)
Instance Methods
Defined in com.google.ads.studio.vpaid:VpaidEventReporter
addTimerAdjustment(eventId:String, adjustment:Number)
:
void
logCustomEvent(type:String, eventId:String, isCumulative:Boolean=false)
:
void
logCustomVideoEvent(type:String, videoName:String, eventId:String)
:
void
logExit(exitId:String)
:
void
logStandardEvent(type:String, eventId:String, isCumulative:Boolean=false)
:
void
postCustomVariable(postString:String, type:Number)
:
void
postEvents()
:
void
startReportingEvents()
:
void
stopReportingEvents()
:
void