public interface

EventListener

com.smaato.sdk.interstitial.EventListener

Summary

Public Methods
abstract void onAdClicked(InterstitialAd interstitialAd)
This method will be invoked when user clicked on an ad.
abstract void onAdClosed(InterstitialAd interstitialAd)
This method will be invoked when a fullscreen interstitial ad is closed.
abstract void onAdError(InterstitialAd interstitialAd, InterstitialError interstitialError)
This method will be invoked when an advertisement failed during loading or showing.
abstract void onAdFailedToLoad(InterstitialRequestError interstitialRequestError)
This method will be invoked when an advertisement request is failed.
abstract void onAdImpression(InterstitialAd interstitialAd)
This method will be invoked when an impression occurred.
abstract void onAdLoaded(InterstitialAd interstitialAd)
This method will be invoked when an advertisement is successfully received.
abstract void onAdOpened(InterstitialAd interstitialAd)
This method will be invoked when a fullscreen interstitial ad is opened.
abstract void onAdTTLExpired(InterstitialAd interstitialAd)
This method will be invoked on when an advertisement's TTL(time to live) is expired.

Public Methods

public abstract void onAdClicked (InterstitialAd interstitialAd)

This method will be invoked when user clicked on an ad.

It is invoked on main thread only.

public abstract void onAdClosed (InterstitialAd interstitialAd)

This method will be invoked when a fullscreen interstitial ad is closed.

It is invoked on main thread only.

public abstract void onAdError (InterstitialAd interstitialAd, InterstitialError interstitialError)

This method will be invoked when an advertisement failed during loading or showing.

It is invoked on main thread only.

Parameters
interstitialError InterstitialError the error.

public abstract void onAdFailedToLoad (InterstitialRequestError interstitialRequestError)

This method will be invoked when an advertisement request is failed.

It is invoked on main thread only.

Parameters
interstitialRequestError InterstitialRequestError the error.

public abstract void onAdImpression (InterstitialAd interstitialAd)

This method will be invoked when an impression occurred.

It is invoked on main thread only.

public abstract void onAdLoaded (InterstitialAd interstitialAd)

This method will be invoked when an advertisement is successfully received.

It is invoked on main thread only.

public abstract void onAdOpened (InterstitialAd interstitialAd)

This method will be invoked when a fullscreen interstitial ad is opened.

It is invoked on main thread only.

public abstract void onAdTTLExpired (InterstitialAd interstitialAd)

This method will be invoked on when an advertisement's TTL(time to live) is expired.

Will be invoked on main thread only.

Parameters
interstitialAd InterstitialAd advertisement object View that received onAdTTLExpired event