| java.lang.Object | |
| ↳ | com.applovin.adview.AppLovinInterstitialAd |
This class represents an interstitial ad that is rendered on top of the current activity.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| AppLovinInterstitialAd() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static AppLovinInterstitialAdDialog |
create(AppLovinSdk sdk, Context context)
Create a new interstitial dialog that can be shown to the user.
| ||||||||||
| static boolean |
isAdReadyToDisplay(Context context)
This method is deprecated.
Checking whether an ad is ready for display has been deprecated and will be removed in a future SDK version. Please use
show(Context), or create an instance of AppLovinInterstitialAdDialog and use show() or showAndRender(AppLovinAd) to display an ad.
| ||||||||||
| static void |
show(Context context, String placement)
This method is deprecated.
Placements have been deprecated and will be removed in a future SDK version. Please configure zones from the UI and use them instead.
| ||||||||||
| static void |
show(AppLovinSdk sdk, Context context, String placement)
This method is deprecated.
Placements have been deprecated and will be removed in a future SDK version. Please configure zones from the UI and use them instead.
| ||||||||||
| static void |
show(Context context)
Show a new interstitial ad.
| ||||||||||
| String | toString() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Create a new interstitial dialog that can be shown to the user. This is primarily useful in advanced integrations as the Ad Dialog allows finer control - including manually pre-caching and rendering ads. If all you want to do is show an interstitial the default way, you're looking for
show().
| sdk | An SDK instance to use. |
|---|---|
| context | A non-stale reference to the current top activity. |
AppLovinInterstitialAdDialog.
This method is deprecated.
Checking whether an ad is ready for display has been deprecated and will be removed in a future SDK version. Please use show(Context), or create an instance of AppLovinInterstitialAdDialog and use show() or showAndRender(AppLovinAd) to display an ad.
This method is deprecated.
Placements have been deprecated and will be removed in a future SDK version. Please configure zones from the UI and use them instead.
This method is deprecated.
Placements have been deprecated and will be removed in a future SDK version. Please configure zones from the UI and use them instead.
Show a new interstitial ad. This method will display a dialog on top of current activity's view with an advertisement in it.
| context | Parent activity or application context. Must not be null. |
|---|