Class AdViewUtils


  • public final class AdViewUtils
    extends java.lang.Object
    • Method Detail

      • 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 the PrebidNativeAdListener
        Parameters:
        object - instances of Google and MoPub Native Ads
        listener - to notify the validity of passed object via @onPrebidNativeLoaded, #onPrebidNativeNotFound, #onPrebidNativeNotValid