Package | com.milkmangames.nativeextensions.events |
Class | public class AdMobEvent |
Inheritance | AdMobEvent flash.events.Event |
Property | Defined By | ||
---|---|---|---|
dimensions : Rectangle [read-only]
Get the actual size in physical pixels of this ad on the device, for fixed dimension ads. | AdMobEvent | ||
isInterstitial : Boolean = false True if the event relates to an interstitial ad | AdMobEvent | ||
systemAdvertisingId : String If associated with SYSTEM_AD_ID_LOADED loaded event, the system ad id (or "limited" if the user disabled tracking, or null when not available) | AdMobEvent |
Method | Defined By | ||
---|---|---|---|
AdMobEvent(type:String, dimensions:Rectangle = null, bubbles:Boolean = false, cancelable:Boolean = false) AdMobEvent | AdMobEvent | ||
clone():Event [override] | AdMobEvent | ||
toString():String [override] | AdMobEvent |
Constant | Defined By | ||
---|---|---|---|
LEAVE_APPLICATION : String = LEAVE_APPLICATION [static] Dispatched when a user action on an ad causes the focus to change elsewhere
| AdMobEvent | ||
RECEIVED_AD : String = RECEIVED_AD [static] Dispatched when ad has successfully loaded following a call to AdMob.showAd()
| AdMobEvent | ||
SCREEN_DISMISSED : String = SCREEN_DISMISSED [static] Dispatched when a fullscreen interactive ad view is dismissed by the ad
| AdMobEvent | ||
SCREEN_PRESENTED : String = SCREEN_PRESENTED [static] Dispatched when a fullscreen interactive ad view is presented by an ad
| AdMobEvent | ||
SYSTEM_AD_ID_LOADED : String = SYSTEM_AD_ID_LOADED [static] Dispatched in response to AdMob.loadSystemAdvertisingId()
| AdMobEvent |
dimensions | property |
dimensions:Rectangle
[read-only] Get the actual size in physical pixels of this ad on the device, for fixed dimension ads. Dynamic ("smart") sized ads will return an empty rect.
public function get dimensions():Rectangle
isInterstitial | property |
public var isInterstitial:Boolean = false
True if the event relates to an interstitial ad
systemAdvertisingId | property |
public var systemAdvertisingId:String
If associated with SYSTEM_AD_ID_LOADED loaded event, the system ad id (or "limited" if the user disabled tracking, or null when not available)
AdMobEvent | () | Constructor |
public function AdMobEvent(type:String, dimensions:Rectangle = null, bubbles:Boolean = false, cancelable:Boolean = false)
AdMobEvent
Parameterstype:String | |
dimensions:Rectangle (default = null )
| |
bubbles:Boolean (default = false )
| |
cancelable:Boolean (default = false )
|
clone | () | method |
override public function clone():Event
ReturnsEvent |
toString | () | method |
override public function toString():String
ReturnsString |
LEAVE_APPLICATION | Constant |
public static const LEAVE_APPLICATION:String = LEAVE_APPLICATION
Dispatched when a user action on an ad causes the focus to change elsewhere
RECEIVED_AD | Constant |
public static const RECEIVED_AD:String = RECEIVED_AD
Dispatched when ad has successfully loaded following a call to AdMob.showAd()
SCREEN_DISMISSED | Constant |
public static const SCREEN_DISMISSED:String = SCREEN_DISMISSED
Dispatched when a fullscreen interactive ad view is dismissed by the ad
SCREEN_PRESENTED | Constant |
public static const SCREEN_PRESENTED:String = SCREEN_PRESENTED
Dispatched when a fullscreen interactive ad view is presented by an ad
SYSTEM_AD_ID_LOADED | Constant |
public static const SYSTEM_AD_ID_LOADED:String = SYSTEM_AD_ID_LOADED
Dispatched in response to AdMob.loadSystemAdvertisingId()