Interface BannerViewListener
-
public interface BannerViewListenerListener interface representing BannerView events. All methods will be invoked on the main thread.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonAdClicked(BannerView bannerView)Executed when bannerView is clicked.voidonAdClosed(BannerView bannerView)Executed when modal window (e.g. browser) on top of bannerView is closed.voidonAdDisplayed(BannerView bannerView)Executed when the ad is displayed on screen.voidonAdFailed(BannerView bannerView, AdException exception)Executed when an error is encountered on initialization / loading or display step.voidonAdLoaded(BannerView bannerView)Executed when the ad is loaded and is ready for display.
-
-
-
Method Detail
-
onAdLoaded
void onAdLoaded(BannerView bannerView)
Executed when the ad is loaded and is ready for display.- Parameters:
bannerView- view of the corresponding event.
-
onAdDisplayed
void onAdDisplayed(BannerView bannerView)
Executed when the ad is displayed on screen.- Parameters:
bannerView- view of the corresponding event.
-
onAdFailed
void onAdFailed(BannerView bannerView, AdException 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
void onAdClicked(BannerView bannerView)
Executed when bannerView is clicked.- Parameters:
bannerView- view of the corresponding event.
-
onAdClosed
void onAdClosed(BannerView bannerView)
Executed when modal window (e.g. browser) on top of bannerView is closed.- Parameters:
bannerView- view of the corresponding event.
-
-