public interface

AppLovinAdDisplayListener

com.applovin.sdk.AppLovinAdDisplayListener

Class Overview

This interface defines a listener intended to be notified when an ad is shown or hidden to the user.

Summary

Public Methods
abstract void adDisplayed(AppLovinAd ad)
This method is invoked when an ad is displayed inside of the AppLovinAdView or AppLovinInterstitialAdDialog.
abstract void adHidden(AppLovinAd ad)
This method is invoked when an ad is displayed inside of the AppLovinAdView or AppLovinInterstitialAdDialog.

Public Methods

public abstract void adDisplayed (AppLovinAd ad)

This method is invoked when an ad is displayed inside of the AppLovinAdView or AppLovinInterstitialAdDialog. This method is invoked on the main UI thread.

Parameters
ad Ad that was just displayed. Guaranteed not to be null.

public abstract void adHidden (AppLovinAd ad)

This method is invoked when an ad is displayed inside of the AppLovinAdView or AppLovinInterstitialAdDialog. This occurs when the ad is rotated (in the case of BANNERs and MRECs) or when it is explicitly closed (in the case of INTERSTITIALs). This method is invoked on the main UI thread.

Parameters
ad Ad that was just hidden. Guaranteed not to be null.