Packagecom.distriqt.extension.adverts.events
Classpublic class RewardedInterstitialAdEvent
InheritanceRewardedInterstitialAdEvent Inheritance flash.events.Event



Public Properties
 PropertyDefined By
  errorCode : int = -1
The error code is usually ERROR_CODE_INTERNAL_ERROR, ERROR_CODE_INVALID_REQUEST, ERROR_CODE_NETWORK_ERROR, or ERROR_CODE_NO_FILL.
RewardedInterstitialAdEvent
  errorMessage : String
A message describing the error
RewardedInterstitialAdEvent
  rewardAmount : int = 0
the amount of credit for a REWARD event
RewardedInterstitialAdEvent
  rewardType : String
the type of the credit for a REWARD event
RewardedInterstitialAdEvent
Public Methods
 MethodDefined By
  
RewardedInterstitialAdEvent(type:String, rewardAmount:int = 0, rewardType:String, errorCode:int = -1, errorMessage:String, bubbles:Boolean = false, cancelable:Boolean = false)
RewardedInterstitialAdEvent
  
clone():Event
[override]
RewardedInterstitialAdEvent
Public Constants
 ConstantDefined By
  ERROR : String = rewardedinterstitialad:error
[static] Dispatched if the ad failed to load.
RewardedInterstitialAdEvent
  LOADED : String = rewardedinterstitialad:loaded
[static] This event is dispatched when a rewarded interstitial ad is loaded.
RewardedInterstitialAdEvent
  REWARD : String = rewardedinterstitialad:reward
[static] Called when a rewarded interstitial ad has triggered a reward.
RewardedInterstitialAdEvent
Property Detail
errorCodeproperty
public var errorCode:int = -1

The error code is usually ERROR_CODE_INTERNAL_ERROR, ERROR_CODE_INVALID_REQUEST, ERROR_CODE_NETWORK_ERROR, or ERROR_CODE_NO_FILL.

See also

errorMessageproperty 
public var errorMessage:String

A message describing the error

rewardAmountproperty 
public var rewardAmount:int = 0

the amount of credit for a REWARD event

rewardTypeproperty 
public var rewardType:String

the type of the credit for a REWARD event

Constructor Detail
RewardedInterstitialAdEvent()Constructor
public function RewardedInterstitialAdEvent(type:String, rewardAmount:int = 0, rewardType:String, errorCode:int = -1, errorMessage:String, bubbles:Boolean = false, cancelable:Boolean = false)



Parameters
type:String
 
rewardAmount:int (default = 0)
 
rewardType:String
 
errorCode:int (default = -1)
 
errorMessage:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
ERRORConstant
public static const ERROR:String = rewardedinterstitialad:error

Dispatched if the ad failed to load.

LOADEDConstant 
public static const LOADED:String = rewardedinterstitialad:loaded

This event is dispatched when a rewarded interstitial ad is loaded.

REWARDConstant 
public static const REWARD:String = rewardedinterstitialad:reward

Called when a rewarded interstitial ad has triggered a reward. The app is responsible for crediting the user with the reward.