ImageListener /4.0.0
public static interface NativeImageHelper.ImageListener
Public Methods
public void /onImagesCached() /+4.0.0
-
Description: Called when images are successfully cached. If you haven’t already called
CustomEventNative.CustomEventNativeListener.onNativeAdLoaded(com.mopub.nativeads.BaseNativeAd)
, you should typically do so now. -
Parameters: None.
public void /onImagesFailedToCache(NativeErrorCode errorCode) /+4.0.0
-
Description: Called when images failed to cache. You should typically call
CustomEventNative.CustomEventNativeListener.onNativeAdFailed(com.mopub.nativeads.NativeErrorCode)
from this callback -
Parameters:
errorCode
: An enum value with the relevant error message.
Last updated March 30, 2021
TWITTER, MOPUB, and the Bird logo are trademarks of Twitter, Inc. or its affiliates. All third party logos and trademarks included are the property of their respective owners.
© 2021 MoPub (a division of Twitter, Inc.)