public interface

AppLovinAdViewEventListener

com.applovin.adview.AppLovinAdViewEventListener

Class Overview

This interface defines a listener for ad view events.

Created by thomasso on 6/25/17.

Summary

Public Methods
abstract void adClosedFullscreen(AppLovinAd ad, AppLovinAdView adView)
This method is invoked after the fullscreen content is dismissed.
abstract void adFailedToDisplay(AppLovinAd ad, AppLovinAdView adView, AppLovinAdViewDisplayErrorCode code)
This method is invoked if the ad view fails to display an ad.
abstract void adLeftApplication(AppLovinAd ad, AppLovinAdView adView)
This method is invoked before the user is taken out of the application after a click.
abstract void adOpenedFullscreen(AppLovinAd ad, AppLovinAdView adView)
This method is invoked after the ad view presents fullscreen content.

Public Methods

public abstract void adClosedFullscreen (AppLovinAd ad, AppLovinAdView adView)

This method is invoked after the fullscreen content is dismissed.

This method is invoked on the main UI thread.

Parameters
ad Ad for which the fullscreen content is dismissed for.
adView Ad view for which the fullscreen content it presented is dismissed for.

public abstract void adFailedToDisplay (AppLovinAd ad, AppLovinAdView adView, AppLovinAdViewDisplayErrorCode code)

This method is invoked if the ad view fails to display an ad.

This method is invoked on the main UI thread.

Parameters
ad Ad for which the ad view failed to display for.
adView Ad view which failed to display the ad.
code Error code specifying the reason why the ad view failed to display ad.

public abstract void adLeftApplication (AppLovinAd ad, AppLovinAdView adView)

This method is invoked before the user is taken out of the application after a click.

This method is invoked on the main UI thread.

Parameters
ad Ad for which the user will be taken out of the application for.
adView Ad view containing the ad for which the user will be taken out of the application for.

public abstract void adOpenedFullscreen (AppLovinAd ad, AppLovinAdView adView)

This method is invoked after the ad view presents fullscreen content.

This method is invoked on the main UI thread.

Parameters
ad Ad that the ad view presented fullscreen content for.
adView Ad view that presented fullscreen content.