Class POBInterstitial.POBInterstitialListener
-
- All Implemented Interfaces:
@MainThread() public class POBInterstitial.POBInterstitialListener
Static member class for interaction with the POBInterstitial instance. All methods are guaranteed to occur on the main thread.
-
-
Constructor Summary
Constructors Constructor Description POBInterstitial.POBInterstitialListener()
-
Method Summary
Modifier and Type Method Description voidonAdReceived(@NonNull() POBInterstitial ad)Notifies the listener that an ad has been received successfully. voidonAdFailedToLoad(@NonNull() POBInterstitial ad, @NonNull() POBError error)Notifies the listener of an error encountered while loading an ad. voidonAdFailedToShow(@NonNull() POBInterstitial ad, @NonNull() POBError error)Notifies the listener of an error encountered while showing an ad. voidonAppLeaving(@NonNull() POBInterstitial ad)Notifies the listener that a user interaction will open another app (e.g. voidonAdOpened(@NonNull() POBInterstitial ad)Notifies that the OpenWrap view will open an ad on top of the current view. voidonAdClosed(@NonNull() POBInterstitial ad)Notifies that the OpenWrap view has closed the ad on top of the current view. voidonAdClicked(@NonNull() POBInterstitial ad)Notifies that the interstitial ad has been clicked voidonAdExpired(@NonNull() POBInterstitial ad)Notifies that the interstitial ad has been expired. voidonAdImpression(@NonNull() POBInterstitial ad)Notifies that the impression occurred on interstitial ad. -
-
Method Detail
-
onAdReceived
void onAdReceived(@NonNull() POBInterstitial ad)
Notifies the listener that an ad has been received successfully.
- Parameters:
ad- The POBInterstitial instance invoking this method.
-
onAdFailedToLoad
void onAdFailedToLoad(@NonNull() POBInterstitial ad, @NonNull() POBError error)
Notifies the listener of an error encountered while loading an ad.
- Parameters:
ad- POBInterstitial instance invoking this method.error- The error encountered while loading the ad.
-
onAdFailedToShow
void onAdFailedToShow(@NonNull() POBInterstitial ad, @NonNull() POBError error)
Notifies the listener of an error encountered while showing an ad.
- Parameters:
ad- POBInterstitial instance invoking this method.error- The error encountered while showing the ad.
-
onAppLeaving
void onAppLeaving(@NonNull() POBInterstitial 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 POBInterstitial instance invoking this method.
-
onAdOpened
void onAdOpened(@NonNull() POBInterstitial ad)
Notifies that the OpenWrap view will open an ad on top of the current view.
- Parameters:
ad- The POBInterstitial instance invoking this method.
-
onAdClosed
void onAdClosed(@NonNull() POBInterstitial ad)
Notifies that the OpenWrap view has closed the ad on top of the current view.
- Parameters:
ad- The POBInterstitial instance invoking this method.
-
onAdClicked
void onAdClicked(@NonNull() POBInterstitial ad)
Notifies that the interstitial ad has been clicked
- Parameters:
ad- The POBInterstitial instance invoking this method.
-
onAdExpired
void onAdExpired(@NonNull() POBInterstitial ad)
Notifies that the interstitial ad has been expired. After this callback, 'POBInterstitial' instances marked as invalid and may not be presented and no impression counting is considered. After Expiration callback, POBInterstitial.isReady() returns 'false'.
- Parameters:
ad- The POBInterstitial instance invoking this method.
-
onAdImpression
void onAdImpression(@NonNull() POBInterstitial ad)
Notifies that the impression occurred on interstitial ad. Introduced in SDK v3.5.0
- Parameters:
ad- The POBInterstitial instance invoking this method.
-
-
-
-