Packagecom.milkmangames.nativeextensions.events
Classpublic class AdMobEvent
InheritanceAdMobEvent Inheritance flash.events.Event



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
AdMobEvent(type:String, dimensions:Rectangle = null, bubbles:Boolean = false, cancelable:Boolean = false)
AdMobEvent
AdMobEvent
  
clone():Event
[override]
AdMobEvent
  
toString():String
[override]
AdMobEvent
Public Constants
 ConstantDefined 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
Property Detail
dimensionsproperty
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.


Implementation
    public function get dimensions():Rectangle
isInterstitialproperty 
public var isInterstitial:Boolean = false

True if the event relates to an interstitial ad

systemAdvertisingIdproperty 
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)

Constructor Detail
AdMobEvent()Constructor
public function AdMobEvent(type:String, dimensions:Rectangle = null, bubbles:Boolean = false, cancelable:Boolean = false)

AdMobEvent

Parameters
type:String
 
dimensions:Rectangle (default = null)
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Returns
Event
toString()method 
override public function toString():String

Returns
String
Constant Detail
LEAVE_APPLICATIONConstant
public static const LEAVE_APPLICATION:String = LEAVE_APPLICATION

Dispatched when a user action on an ad causes the focus to change elsewhere

RECEIVED_ADConstant 
public static const RECEIVED_AD:String = RECEIVED_AD

Dispatched when ad has successfully loaded following a call to AdMob.showAd()

SCREEN_DISMISSEDConstant 
public static const SCREEN_DISMISSED:String = SCREEN_DISMISSED

Dispatched when a fullscreen interactive ad view is dismissed by the ad

SCREEN_PRESENTEDConstant 
public static const SCREEN_PRESENTED:String = SCREEN_PRESENTED

Dispatched when a fullscreen interactive ad view is presented by an ad

SYSTEM_AD_ID_LOADEDConstant 
public static const SYSTEM_AD_ID_LOADED:String = SYSTEM_AD_ID_LOADED

Dispatched in response to AdMob.loadSystemAdvertisingId()