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.
|
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 |
showAndRender(AppLovinAd ad)
Show the interstitial dialog an render specified pre-loaded ad.
|
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 void dismiss()