Packagecom.milkmangames.nativeextensions.events
Classpublic class AdMobErrorEvent
InheritanceAdMobErrorEvent Inheritance flash.events.Event

AdMobErrorEvent



Public Properties
 PropertyDefined By
  errorID : int
[read-only] Contains the reference number associated with the specific error.
AdMobErrorEvent
  isInterstitial : Boolean = false
True if the event relates to an interstitial ad
AdMobErrorEvent
  text : String
[read-only] The message associated with the error.
AdMobErrorEvent
Public Methods
 MethodDefined By
  
AdMobErrorEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, text:String, id:int = 0)
Create New AdMobErrorEvent
AdMobErrorEvent
  
clone():Event
[override]
AdMobErrorEvent
  
toString():String
[override]
AdMobErrorEvent
Public Constants
 ConstantDefined By
  FAILED_TO_RECEIVE_AD : String = FAILED_TO_RECEIVE_AD
[static] Dispatched when ad has failed to load after a call to showAd()
AdMobErrorEvent
Property Detail
errorIDproperty
errorID:int  [read-only]

Contains the reference number associated with the specific error.


Implementation
    public function get errorID():int
isInterstitialproperty 
public var isInterstitial:Boolean = false

True if the event relates to an interstitial ad

textproperty 
text:String  [read-only]

The message associated with the error.


Implementation
    public function get text():String
Constructor Detail
AdMobErrorEvent()Constructor
public function AdMobErrorEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, text:String, id:int = 0)

Create New AdMobErrorEvent

Parameters
type:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
 
text:String
 
id:int (default = 0)
Method Detail
clone()method
override public function clone():Event

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

Returns
String
Constant Detail
FAILED_TO_RECEIVE_ADConstant
public static const FAILED_TO_RECEIVE_AD:String = FAILED_TO_RECEIVE_AD

Dispatched when ad has failed to load after a call to showAd()