| Package | com.adobe.mediacore.events |
| Class | public class AdClickEvent |
| Inheritance | AdClickEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| ad : Ad [read-only]
The associated ad. | AdClickEvent | ||
| adBreak : AdBreak [read-only]
The associated ad break. | AdClickEvent | ||
| adClick : AdClick [read-only]
Ad click through information associated with the asset clicked. | AdClickEvent | ||
| Method | Defined By | ||
|---|---|---|---|
AdClickEvent(type:String, bubbles:Boolean, cancelable:Boolean, adBreak:AdBreak, ad:Ad, adClick:AdClick)
Default constructor. | AdClickEvent | ||
clone():Event [override]
| AdClickEvent | ||
[static]
Factory method for creating AdClickEvent. | AdClickEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| AD_CLICK : String = adClick [static]
Dispatched when the ad is clicked during playback. | AdClickEvent | ||
| ad | property |
| adBreak | property |
adBreak:AdBreak [read-only] The associated ad break.
public function get adBreak():AdBreak| adClick | property |
adClick:AdClick [read-only] Ad click through information associated with the asset clicked.
public function get adClick():AdClick| AdClickEvent | () | Constructor |
public function AdClickEvent(type:String, bubbles:Boolean, cancelable:Boolean, adBreak:AdBreak, ad:Ad, adClick:AdClick)Default constructor. Throws an ArgumentError if the specified ad break or specified ad or specified click through information is null.
Parameterstype:String — The type of the event.
| |
bubbles:Boolean — Determines whether the Event object participates in the bubbling stage of the event flow.
| |
cancelable:Boolean — Determines whether the Event object can be canceled.
| |
adBreak:AdBreak — The associated ad break.
| |
ad:Ad — The associated ad.
| |
adClick:AdClick — Click through information associated with the asset clicked.
|
| clone | () | method |
override public function clone():EventReturns
Event |
| create | () | method |
public static function create(adBreak:AdBreak, ad:Ad, adClick:AdClick):AdClickEventFactory method for creating AdClickEvent. Throws an ArgumentError if any of the specified arguments are null.
Parameters
adBreak:AdBreak — The associated ad break.
| |
ad:Ad — The associated ad.
| |
adClick:AdClick — Click through information associated with the asset clicked.
|
AdClickEvent — a valid AdClickThroughEvent instance.
|
| AD_CLICK | Constant |
public static const AD_CLICK:String = adClickDispatched when the ad is clicked during playback.