com.applovin.adview.AppLovinInterstitialAdDialog |
This interface defines an AppLovin interstitial dialog. The interface can be used for finer control of interstitial flow.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
dismiss()
Dismiss the interstitial dialog.
| ||||||||||
abstract boolean |
isAdReadyToDisplay()
Check if an ad is currently preloaded and ready to be displayed.
| ||||||||||
abstract boolean |
isShowing()
Check if the interstitial is currently showing
| ||||||||||
abstract void |
setAdClickListener(AppLovinAdClickListener callback)
Set a callback that will be notified of ad click events, which are generated whenever the user clicks on the ad.
| ||||||||||
abstract void |
setAdDisplayListener(AppLovinAdDisplayListener callback)
Set a callback that will be notified of ad display events.
| ||||||||||
abstract void |
setAdLoadListener(AppLovinAdLoadListener callback)
Set a callback that will be notified of ad loading events.
| ||||||||||
abstract void |
setAdVideoPlaybackListener(AppLovinAdVideoPlaybackListener callback)
Set a callback that may be notified of video playback events, if and only if the ad contains a video.
| ||||||||||
abstract void |
show(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.
| ||||||||||
abstract void |
show()
Show the interstitial dialog and load the next ad
| ||||||||||
abstract void |
showAndRender(AppLovinAd ad, 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.
| ||||||||||
abstract void |
showAndRender(AppLovinAd ad)
Show the interstitial dialog an render specified pre-loaded ad.
|
Dismiss the interstitial dialog.
Check if an ad is currently preloaded and ready to be displayed.
Check if the interstitial is currently showing
Set a callback that will be notified of ad click events, which are generated whenever the user clicks on the ad.
callback | A callback to be notified of ad loading events. |
---|
Set a callback that will be notified of ad display events. These include ad displayed and ad hidden.
callback | A callback to be notified of ad loading events. |
---|
Set a callback that will be notified of ad loading events. These include ad loaded and ad failed to load events
callback | A callback to be notified of ad loading events. |
---|
Set a callback that may be notified of video playback events, if and only if the ad contains a video.
callback | A callback to be notified of video events. |
---|
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 the interstitial dialog and load the next 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.
Show the interstitial dialog an render specified pre-loaded ad.
ad | AppLovinAd object of size Interstitial to show |
---|