public class NativeInternalForMoPub
extends java.lang.Object
| Constructor and Description |
|---|
NativeInternalForMoPub()
This class serves as a bridge between this adapter and the internals (package-private) of the
SDK.
|
| Modifier and Type | Method and Description |
|---|---|
static com.criteo.publisher.advancednative.CriteoNativeRenderer |
decorateWithAdChoice(com.criteo.publisher.advancednative.CriteoNativeRenderer delegate) |
static void |
setRenderer(com.criteo.publisher.advancednative.CriteoNativeAd nativeAd,
com.criteo.publisher.advancednative.CriteoNativeRenderer renderer) |
public NativeInternalForMoPub()
To access the package-private methods, a Java class should be in the same package. This is why
this class is @Keep to not mangle the package name. Else the package name could become, com.criteo.a.a and then the runtime could throw a IllegalAccessError.
public static com.criteo.publisher.advancednative.CriteoNativeRenderer decorateWithAdChoice(@NonNull
com.criteo.publisher.advancednative.CriteoNativeRenderer delegate)
public static void setRenderer(@NonNull
com.criteo.publisher.advancednative.CriteoNativeAd nativeAd,
@NonNull
com.criteo.publisher.advancednative.CriteoNativeRenderer renderer)