Class AdViewUtils

java.lang.Object
org.prebid.mobile.addendum.AdViewUtils

public final class AdViewUtils extends Object
  • Method Details

    • findPrebidCreativeSize

      public static void findPrebidCreativeSize(android.view.View adView, AdViewUtils.PbFindSizeListener handler)
    • findCacheId

      public static void findCacheId(android.webkit.WebView webView, AdViewUtils.CacheIdResult onResult)
    • findNative

      public static void findNative(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 the PrebidNativeAdListener
      Parameters:
      object - instances of Google Native Ads
      listener - to notify the validity of passed object via @onPrebidNativeLoaded, #onPrebidNativeNotFound, #onPrebidNativeNotValid