com.applovin.nativeAds.AppLovinNativeAdPrecacheListener |
Defines a listener which will be notified when native ad resources are pre-cached.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onNativeAdImagePrecachingFailed(AppLovinNativeAd ad, int errorCode)
Invoked if pre-caching image resources fails.
| ||||||||||
abstract void |
onNativeAdImagesPrecached(AppLovinNativeAd ad)
Invoked when image resources have been successfully pre-cached in a slot.
| ||||||||||
abstract void |
onNativeAdVideoPrecachingFailed(AppLovinNativeAd ad, int errorCode)
Invoked if pre-caching video resources fails.
| ||||||||||
abstract void |
onNativeAdVideoPreceached(AppLovinNativeAd ad)
Invoked when image resources have been successfully pre-cached in a slot.
|
Invoked if pre-caching image resources fails.
errorCode | Error code describing the failed pre-caching attempt. Likely corresponds to a constant in AppLovinErrorCodes .
|
---|
Invoked when image resources have been successfully pre-cached in a slot.
After this point, any resource URL getters, such as getImageUrl()
, will return local filesystem URLs.
Invoked if pre-caching video resources fails.
errorCode | Error code describing the failed pre-caching attempt. Likely corresponds to a constant in AppLovinErrorCodes .
|
---|
Invoked when image resources have been successfully pre-cached in a slot.
After this point, getVideoUrl()
()} will return a local filesystem URL.