-
- 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 final classALPubMaticOpenWrapNative.POBNativeAdListenerImplClass to listen the Openwrap's native 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 ALPubMaticOpenWrapLoggerListenerloggerListenerprivate IntegertemplateType
-
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 IntegergetTemplateType()ALMAX template type final UnitsetTemplateType(Integer templateType)ALMAX template type 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
-
getTemplateType
final Integer getTemplateType()
ALMAX template type
-
setTemplateType
final Unit setTemplateType(Integer templateType)
ALMAX template type
-
onAdReceived
Unit onAdReceived(POBNativeAdLoader pobNativeAdLoader, POBNativeAd pobNativeAd)
-
onFailedToLoad
Unit onFailedToLoad(POBNativeAdLoader pobNativeAdLoader, POBError pobError)
-
-
-
-