Class POBAppOpenAd.POBAppOpenAdListener
-
- All Implemented Interfaces:
@MainThread() public class POBAppOpenAd.POBAppOpenAdListener
This is an interface for interaction with the POBAppOpenAd instance. All messages are guaranteed to occur on the main thread.
-
-
Constructor Summary
Constructors Constructor Description POBAppOpenAd.POBAppOpenAdListener()
-
Method Summary
Modifier and Type Method Description UnitonAdReceived(POBAppOpenAd ad)Notifies the listener that an ad has been received successfully. UnitonAdFailedToLoad(POBAppOpenAd ad, POBError error)Notifies the listener of an error encountered while loading an ad. UnitonAdFailedToShow(POBAppOpenAd ad, POBError error)Notifies the listener of an error encountered while showing an ad. UnitonAppLeaving(POBAppOpenAd ad)Notifies the listener that a user interaction will open another app (e.g. UnitonAdOpened(POBAppOpenAd ad)Notifies that the OpenWrap view will open an ad on top of the current view. UnitonAdClosed(POBAppOpenAd ad)Notifies that the OpenWrap view has closed the ad on top of the current view. UnitonAdClicked(POBAppOpenAd ad)Notifies that the app open ad has been clicked UnitonAdExpired(POBAppOpenAd ad)Notifies that the app open ad has been expired. UnitonAdImpression(POBAppOpenAd ad)Notifies that the impression occurred on app open ad. -
-
Method Detail
-
onAdReceived
Unit onAdReceived(POBAppOpenAd ad)
Notifies the listener that an ad has been received successfully.
- Parameters:
ad- The POBAppOpenAd instance invoking this method.
-
onAdFailedToLoad
Unit onAdFailedToLoad(POBAppOpenAd ad, POBError error)
Notifies the listener of an error encountered while loading an ad.
- Parameters:
ad- POBAppOpenAd instance invoking this method.error- The error encountered while loading the ad.
-
onAdFailedToShow
Unit onAdFailedToShow(POBAppOpenAd ad, POBError error)
Notifies the listener of an error encountered while showing an ad.
- Parameters:
ad- POBAppOpenAd instance invoking this method.error- The error encountered while showing the ad.
-
onAppLeaving
Unit onAppLeaving(POBAppOpenAd ad)
Notifies the listener that a user interaction will open another app (e.g. Chrome browser), leaving the current app. To handle user clicks that open the landing page URL in the internal browser, use 'onAdClicked()' instead.
- Parameters:
ad- The POBAppOpenAd instance invoking this method.
-
onAdOpened
Unit onAdOpened(POBAppOpenAd ad)
Notifies that the OpenWrap view will open an ad on top of the current view.
- Parameters:
ad- The POBAppOpenAd instance invoking this method.
-
onAdClosed
Unit onAdClosed(POBAppOpenAd ad)
Notifies that the OpenWrap view has closed the ad on top of the current view.
- Parameters:
ad- The POBAppOpenAd instance invoking this method.
-
onAdClicked
Unit onAdClicked(POBAppOpenAd ad)
Notifies that the app open ad has been clicked
- Parameters:
ad- The POBAppOpenAd instance invoking this method.
-
onAdExpired
Unit onAdExpired(POBAppOpenAd ad)
Notifies that the app open ad has been expired. After this callback, 'POBAppOpenAd' instances marked as invalid and may not be presented and no impression counting is considered. After Expiration callback, POBAppOpenAd.isReady() returns 'false'.
- Parameters:
ad- The POBAppOpenAd instance invoking this method.
-
onAdImpression
Unit onAdImpression(POBAppOpenAd ad)
Notifies that the impression occurred on app open ad.
- Parameters:
ad- The POBAppOpenAd instance invoking this method.
-
-
-
-