-
public final class AdViewUtils
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceAdViewUtils.PbFindSizeListenerpublic interfaceAdViewUtils.CacheIdResult
-
Method Summary
Modifier and Type Method Description static voidfindPrebidCreativeSize(@Nullable() View adView, AdViewUtils.PbFindSizeListener handler)static voidfindCacheId(WebView webView, AdViewUtils.CacheIdResult onResult)static voidfindNative(@NonNull() Object object, @NonNull() PrebidNativeAdListener listener)This API can be used to find if the passed object contains info to retreive valid cached Native response or not,and notifies using the PrebidNativeAdListener -
-
Method Detail
-
findPrebidCreativeSize
static void findPrebidCreativeSize(@Nullable() View adView, AdViewUtils.PbFindSizeListener handler)
-
findCacheId
static void findCacheId(WebView webView, AdViewUtils.CacheIdResult onResult)
-
findNative
static void findNative(@NonNull() Object object, @NonNull() PrebidNativeAdListener listener)
This API can be used to find if the passed object contains info to retreive valid cached Native response or not,and notifies using the PrebidNativeAdListener
- Parameters:
object- instances of Google Native Adslistener- to notify the validity of passed object via @onPrebidNativeLoaded, #onPrebidNativeNotFound, #onPrebidNativeNotValid
-
-
-
-