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