public abstract class AdColonyInterstitialListener
extends java.lang.Object
AdColony.requestInterstitial(String, AdColonyInterstitialListener)
.Constructor and Description |
---|
AdColonyInterstitialListener() |
Modifier and Type | Method and Description |
---|---|
void |
onAudioStarted(AdColonyInterstitial ad)
Deprecated.
|
void |
onAudioStopped(AdColonyInterstitial ad)
Deprecated.
|
void |
onClicked(AdColonyInterstitial ad)
Called when the user has interacted with the ad in a meaningful way, i.e.
|
void |
onClosed(AdColonyInterstitial ad)
Called when the interstitial ad closes.
|
void |
onExpiring(AdColonyInterstitial ad)
Called when an interstitial expires and is no longer valid for playback.
|
void |
onIAPEvent(AdColonyInterstitial ad,
java.lang.String product_id,
int engagement_type)
Called when an in-app purchase (IAP) enabled ad has triggered an IAP event.
|
void |
onLeftApplication(AdColonyInterstitial ad)
Called when some action during the ad causes the user to leave the application.
|
void |
onOpened(AdColonyInterstitial ad)
Called when the interstitial ad opens.
|
abstract void |
onRequestFilled(AdColonyInterstitial ad)
Called in response to an ad request when the request has been successfully filled.
|
void |
onRequestNotFilled(AdColonyZone zone)
Called in response to an ad request when the request failed to fill.
|
public abstract void onRequestFilled(AdColonyInterstitial ad)
ad
- the ad that is returned in response to the successful ad request.public void onRequestNotFilled(AdColonyZone zone)
zone
- the zone that the failed ad request was made from.public void onOpened(AdColonyInterstitial ad)
ad
- the ad that has opened.public void onClosed(AdColonyInterstitial ad)
ad
- the ad that has closed.public void onIAPEvent(AdColonyInterstitial ad, java.lang.String product_id, int engagement_type)
ad
- the ad that triggered the IAP event.product_id
- the product id of the item associated with the IAP event.engagement_type
- the engagement that occurred to trigger this IAP event. One of
AdColonyInterstitial.ADCOLONY_IAP_ENGAGEMENT_END_CARD
or
AdColonyInterstitial.ADCOLONY_IAP_ENGAGEMENT_OVERLAY
public void onExpiring(AdColonyInterstitial ad)
ad
- The ad that is expiring.public void onLeftApplication(AdColonyInterstitial ad)
ad
- the ad that caused the user to leave the applicationpublic void onClicked(AdColonyInterstitial ad)
ad
- the ad that has been clicked/interacted with.@Deprecated public void onAudioStopped(AdColonyInterstitial ad)
ad
- the ad whose audio has stopped.@Deprecated public void onAudioStarted(AdColonyInterstitial ad)
ad
- the ad whose audio has started.