-
- All Implemented Interfaces:
-
com.pubmatic.sdk.nativead.POBNativeAdLoaderListener
public final class ALPubMaticOpenWrapNative implements POBNativeAdLoaderListenerAdapter class for native ad for the mediation with AppLovin Max. This class acts like a bridge between the Max sdk and PubMatic sdk for native ad loading
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classALPubMaticOpenWrapNative.Companionpublic final classALPubMaticOpenWrapNative.POBNativeAdListenerImplClass to listen the Openwrap's native ad events.
public final classALPubMaticOpenWrapNative.POBNativeVideoAdListenerImplClass to listen OpenWrap's native video ad events.
public final classALPubMaticOpenWrapNative.MaxPubMaticNativeAdClass to represent OpenWrap's native ad for ALMAX
-
Field Summary
Fields Modifier and Type Field Description private final Function1<Exception, String>drawableImgExceptMsgprivate ALPubMaticOpenWrapLoggerListenerloggerListener
-
Method Summary
Modifier and Type Method Description final Function1<Exception, String>getDrawableImgExceptMsg()final ALPubMaticOpenWrapLoggerListenergetLoggerListener()For logging ad events final UnitsetLoggerListener(ALPubMaticOpenWrapLoggerListener loggerListener)For logging ad events final Unitdestroy()To clean up interstitial resources final UnitloadAd()Loads nativeAd using the POBNativeAdLoader UnitonAdReceived(POBNativeAdLoader pobNativeAdLoader, POBNativeAd pobNativeAd)UnitonFailedToLoad(POBNativeAdLoader pobNativeAdLoader, POBError pobError)-
-
Method Detail
-
getDrawableImgExceptMsg
final Function1<Exception, String> getDrawableImgExceptMsg()
-
getLoggerListener
final ALPubMaticOpenWrapLoggerListener getLoggerListener()
For logging ad events
-
setLoggerListener
final Unit setLoggerListener(ALPubMaticOpenWrapLoggerListener loggerListener)
For logging ad events
-
onAdReceived
Unit onAdReceived(POBNativeAdLoader pobNativeAdLoader, POBNativeAd pobNativeAd)
-
onFailedToLoad
Unit onFailedToLoad(POBNativeAdLoader pobNativeAdLoader, POBError pobError)
-
-
-
-