Package | com.distriqt.extension.adverts.rewardedinterstitial |
Interface | public interface RewardedInterstitialAd extends flash.events.IEventDispatcher |
Method | Defined By | ||
---|---|---|---|
destroy():void
Destroy the ad. | RewardedInterstitialAd | ||
getAdUnitId():String
Returns the ad unit ID. | RewardedInterstitialAd | ||
isLoaded():Boolean
Indicates the rewarded video ad has been loaded and is ready to be displayed. | RewardedInterstitialAd | ||
Starts a load request for a rewarded video ad. | RewardedInterstitialAd | ||
setAdUnitId(adUnitId:String):void
Sets the ad unit ID. | RewardedInterstitialAd | ||
Sets ServerSideVerificationOptions for this rewarded ad. | RewardedInterstitialAd | ||
show():Boolean
Displays the loaded rewarded video ad. | RewardedInterstitialAd |
Event | Summary | Defined By | ||
---|---|---|---|---|
Dispatched when the full screen content ad was dismissed (closed) | RewardedInterstitialAd | |||
Dispatched when there was an error attempting to show the full screen content ad | RewardedInterstitialAd | |||
Dispatched when a full screen content ad is shown | RewardedInterstitialAd | |||
Dispatched when an impression occurs that results in revenue data. | RewardedInterstitialAd | |||
Dispatched if the ad failed to load. | RewardedInterstitialAd | |||
This event is dispatched when a rewarded interstitial ad is loaded. | RewardedInterstitialAd | |||
Called when a rewarded interstitial ad has triggered a reward. | RewardedInterstitialAd |
destroy | () | method |
public function destroy():void
Destroy the ad. No other methods should be called on the ad after destroy()
is called.
getAdUnitId | () | method |
public function getAdUnitId():String
Returns the ad unit ID.
ReturnsString — |
isLoaded | () | method |
public function isLoaded():Boolean
Indicates the rewarded video ad has been loaded and is ready to be displayed.
You can check this flag before calling show
Boolean — true if the rewarded video ad is ready to be displayed
|
load | () | method |
public function load(request:AdRequest):void
Starts a load request for a rewarded video ad.
Parameters
request:AdRequest |
setAdUnitId | () | method |
public function setAdUnitId(adUnitId:String):void
Sets the ad unit ID.
Parameters
adUnitId:String |
setServerSideVerificationOptions | () | method |
public function setServerSideVerificationOptions(options:ServerSideVerificationOptions):void
Sets ServerSideVerificationOptions for this rewarded ad. If you want to set the custom reward string, you must do so before showing the ad.
Parameters
options:ServerSideVerificationOptions — Server side verification options
|
show | () | method |
public function show():Boolean
Displays the loaded rewarded video ad. You should check if the rewarded video ad is loaded before attempting to display the ad.
ReturnsBoolean — true if the rewarded video ad was displayed
and false if it wasn't loaded or ready to be displayed
|
fullscreencontent_dismissed | Event |
com.distriqt.extension.adverts.events.FullScreenContentEvent
com.distriqt.extension.adverts.events.FullScreenContentEvent.DISMISSED
Dispatched when the full screen content ad was dismissed (closed)
fullscreencontent_failedtoshow | Event |
com.distriqt.extension.adverts.events.FullScreenContentEvent
com.distriqt.extension.adverts.events.FullScreenContentEvent.FAILED_TO_SHOW
Dispatched when there was an error attempting to show the full screen content ad
fullscreencontent_show | Event |
com.distriqt.extension.adverts.events.FullScreenContentEvent
com.distriqt.extension.adverts.events.FullScreenContentEvent.SHOW
Dispatched when a full screen content ad is shown
paidevent_paid | Event |
com.distriqt.extension.adverts.events.PaidEvent
com.distriqt.extension.adverts.events.PaidEvent.PAID
Dispatched when an impression occurs that results in revenue data. By implementing this handler, you can use the data to calculate a user's life time value, or forward the data downstream to other relevant systems.
rewardedinterstitialad:error | Event |
com.distriqt.extension.adverts.events.RewardedInterstitialAdEvent
com.distriqt.extension.adverts.events.RewardedInterstitialAdEvent.ERROR
Dispatched if the ad failed to load.
rewardedinterstitialad:loaded | Event |
com.distriqt.extension.adverts.events.RewardedInterstitialAdEvent
com.distriqt.extension.adverts.events.RewardedInterstitialAdEvent.LOADED
This event is dispatched when a rewarded interstitial ad is loaded.
rewardedinterstitialad:reward | Event |
com.distriqt.extension.adverts.events.RewardedInterstitialAdEvent
com.distriqt.extension.adverts.events.RewardedInterstitialAdEvent.REWARD
Called when a rewarded interstitial ad has triggered a reward. The app is responsible for crediting the user with the reward.