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)
:
voidlogCustomEvent(type:String, eventId:String, isCumulative:Boolean=false)
:
voidlogCustomVideoEvent(type:String, videoName:String, eventId:String)
:
voidlogExit(exitId:String)
:
voidlogStandardEvent(type:String, eventId:String, isCumulative:Boolean=false)
:
voidpostCustomVariable(postString:String, type:Number)
:
voidpostEvents()
:
voidstartReportingEvents()
:
voidstopReportingEvents()
:
void