Package | com.distriqt.extension.adverts.events |
Class | public class RewardedInterstitialAdEvent |
Inheritance | RewardedInterstitialAdEvent flash.events.Event |
Property | Defined 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 |
Method | Defined 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 |
Constant | Defined 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 |
errorCode | property |
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
errorMessage | property |
public var errorMessage:String
A message describing the error
rewardAmount | property |
public var rewardAmount:int = 0
the amount of credit for a REWARD event
rewardType | property |
public var rewardType:String
the type of the credit for a REWARD event
RewardedInterstitialAdEvent | () | Constructor |
public function RewardedInterstitialAdEvent(type:String, rewardAmount:int = 0, rewardType:String, errorCode:int = -1, errorMessage:String, bubbles:Boolean = false, cancelable:Boolean = false)
type:String | |
rewardAmount:int (default = 0 )
| |
rewardType:String | |
errorCode:int (default = -1 )
| |
errorMessage:String | |
bubbles:Boolean (default = false )
| |
cancelable:Boolean (default = false )
|
clone | () | method |
override public function clone():Event
ReturnsEvent |
ERROR | Constant |
public static const ERROR:String = rewardedinterstitialad:error
Dispatched if the ad failed to load.
LOADED | Constant |
public static const LOADED:String = rewardedinterstitialad:loaded
This event is dispatched when a rewarded interstitial ad is loaded.
REWARD | Constant |
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.