-
public interface AppstockInterstitialAdUnitListenerListener interface representing InterstitialAdUnit events. All methods will be invoked on the main thread.
-
-
Method Summary
Modifier and Type Method Description voidonAdLoaded(AppstockInterstitialAdUnit interstitialAdUnit)Executed when the ad is loaded and is ready for display. voidonAdLoaded(AppstockInterstitialAdUnit interstitialAdUnit, AdInfo adInfo)Executed when the ad is loaded and is ready for display. abstract voidonAdDisplayed(AppstockInterstitialAdUnit interstitialAdUnit)Executed when the ad is displayed on screen. abstract voidonAdFailed(AppstockInterstitialAdUnit interstitialAdUnit, AppstockAdException exception)Executed when an error is encountered on initialization / loading or display step. abstract voidonAdClicked(AppstockInterstitialAdUnit interstitialAdUnit)Executed when interstitialAdUnit is clicked. abstract voidonAdClosed(AppstockInterstitialAdUnit interstitialAdUnit)Executed when interstitialAdUnit is closed. -
-
Method Detail
-
onAdLoaded
@Deprecated() void onAdLoaded(AppstockInterstitialAdUnit interstitialAdUnit)
Executed when the ad is loaded and is ready for display.
- Parameters:
interstitialAdUnit- view of the corresponding event.
-
onAdLoaded
void onAdLoaded(AppstockInterstitialAdUnit interstitialAdUnit, AdInfo adInfo)
Executed when the ad is loaded and is ready for display.
- Parameters:
interstitialAdUnit- view of the corresponding event.
-
onAdDisplayed
abstract void onAdDisplayed(AppstockInterstitialAdUnit interstitialAdUnit)
Executed when the ad is displayed on screen.
- Parameters:
interstitialAdUnit- view of the corresponding event.
-
onAdFailed
abstract void onAdFailed(AppstockInterstitialAdUnit interstitialAdUnit, AppstockAdException exception)
Executed when an error is encountered on initialization / loading or display step.
- Parameters:
interstitialAdUnit- view of the corresponding event.exception- exception containing detailed message and error type.
-
onAdClicked
abstract void onAdClicked(AppstockInterstitialAdUnit interstitialAdUnit)
Executed when interstitialAdUnit is clicked.
- Parameters:
interstitialAdUnit- view of the corresponding event.
-
onAdClosed
abstract void onAdClosed(AppstockInterstitialAdUnit interstitialAdUnit)
Executed when interstitialAdUnit is closed.
- Parameters:
interstitialAdUnit- view of the corresponding event.
-
-
-
-