public interface AppLovinInterstitialAdDialog
| Modifier and Type | Method and Description |
|---|---|
void |
dismiss()
Deprecated.
Explicitly dismissing an ad has been deprecated and will be removed in a future SDK version.
|
boolean |
isAdReadyToDisplay()
Check if an ad is currently preloaded and ready to be displayed.
|
boolean |
isShowing()
Deprecated.
Please keep track of the interstitial's showing state using callbacks from
AppLovinAdDisplayListener. This check has been deprecated and will be removed in a future SDK version. |
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.
|
void |
setAdDisplayListener(AppLovinAdDisplayListener callback)
Set a callback that will be notified of ad display events.
|
void |
setAdLoadListener(AppLovinAdLoadListener callback)
Set a callback that will be notified of ad loading events.
|
void |
setAdVideoPlaybackListener(AppLovinAdVideoPlaybackListener callback)
Set a callback that may be notified of video playback events, if and only if the ad contains a video.
|
void |
show()
Show the interstitial dialog and load the next ad
|
void |
show(java.lang.String placement)
Deprecated.
Placements have been deprecated and will be removed in a future SDK version. Please configure zones from the UI and use them instead.
|
void |
showAndRender(AppLovinAd ad)
Show the interstitial dialog an render specified pre-loaded ad.
|
void |
showAndRender(AppLovinAd ad,
java.lang.String placement)
Deprecated.
Placements have been deprecated and will be removed in a future SDK version. Please configure zones from the UI and use them instead.
|
void show()
boolean isAdReadyToDisplay()
void showAndRender(AppLovinAd ad)
ad - AppLovinAd object of size Interstitial to showvoid setAdLoadListener(AppLovinAdLoadListener callback)
callback - A callback to be notified of ad loading events.void setAdDisplayListener(AppLovinAdDisplayListener callback)
callback - A callback to be notified of ad loading events.void setAdVideoPlaybackListener(AppLovinAdVideoPlaybackListener callback)
callback - A callback to be notified of video events.void setAdClickListener(AppLovinAdClickListener callback)
callback - A callback to be notified of ad loading events.@Deprecated boolean isShowing()
AppLovinAdDisplayListener. This check has been deprecated and will be removed in a future SDK version.@Deprecated void dismiss()
@Deprecated void show(java.lang.String placement)
@Deprecated void showAndRender(AppLovinAd ad, java.lang.String placement)