com.applovin.nativeAds.AppLovinNativeAdService |
Service which allows loading and pre-caching of native ads.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
hasPreloadedAdForZoneId(String zoneId)
This method is deprecated.
Manually preloading ads in the background has been deprecated and will be removed in a future SDK version.
Please use
loadNativeAds(int, AppLovinNativeAdLoadListener) or loadNativeAds(int, String, AppLovinNativeAdLoadListener) to load ads.
| ||||||||||
abstract void |
loadNativeAds(int numAdsToLoad, String zoneId, AppLovinNativeAdLoadListener listener)
Load a batch of native ads, which are guaranteed not to repeat, asynchronously.
| ||||||||||
abstract void |
loadNativeAds(int numAdsToLoad, AppLovinNativeAdLoadListener listener)
Load a batch of native ads, which are guaranteed not to repeat, asynchronously.
| ||||||||||
abstract void |
precacheResources(AppLovinNativeAd ad, AppLovinNativeAdPrecacheListener listener)
Pre-cache image and video resources of a native ad.
| ||||||||||
abstract void |
preloadAdForZoneId(String zoneId)
This method is deprecated.
Manually preloading ads in the background has been deprecated and will be removed in a future SDK version.
Please use
loadNativeAds(int, AppLovinNativeAdLoadListener) or loadNativeAds(int, String, AppLovinNativeAdLoadListener) to load ads.
|
This method is deprecated.
Manually preloading ads in the background has been deprecated and will be removed in a future SDK version.
Please use loadNativeAds(int, AppLovinNativeAdLoadListener)
or loadNativeAds(int, String, AppLovinNativeAdLoadListener)
to load ads.
Load a batch of native ads, which are guaranteed not to repeat, asynchronously.
numAdsToLoad | The number of native ads to load. |
---|---|
zoneId | The id of the zone to load the native ads for. |
listener | The listener to notify upon completion. |
Load a batch of native ads, which are guaranteed not to repeat, asynchronously.
numAdsToLoad | The number of native ads to load. |
---|---|
listener | The listener to notify upon completion. |
Pre-cache image and video resources of a native ad.
ad | The native ad whose resources should be cached. |
---|---|
listener | The listener to notify upon completion. |
This method is deprecated.
Manually preloading ads in the background has been deprecated and will be removed in a future SDK version.
Please use loadNativeAds(int, AppLovinNativeAdLoadListener)
or loadNativeAds(int, String, AppLovinNativeAdLoadListener)
to load ads.