Package org.prebid.mobile.addendum
Class AdViewUtils
- java.lang.Object
-
- org.prebid.mobile.addendum.AdViewUtils
-
public final class AdViewUtils extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAdViewUtils.PbFindSizeListener
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidfindNative(java.lang.Object object, 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 thePrebidNativeAdListenerstatic voidfindPrebidCreativeSize(android.view.View adView, AdViewUtils.PbFindSizeListener handler)
-
-
-
Method Detail
-
findPrebidCreativeSize
public static void findPrebidCreativeSize(@Nullable android.view.View adView, AdViewUtils.PbFindSizeListener handler)
-
findNative
public static void findNative(@NonNull java.lang.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 thePrebidNativeAdListener- Parameters:
object- instances of Google and MoPub Native Adslistener- to notify the validity of passed object via @onPrebidNativeLoaded, #onPrebidNativeNotFound, #onPrebidNativeNotValid
-
-