public class NativeInternalForAdMob
extends java.lang.Object
| Constructor and Description |
|---|
NativeInternalForAdMob()
This class serves as a bridge between this adapter and the internals (package-private) of the
SDK.
|
| Modifier and Type | Method and Description |
|---|---|
static android.view.View |
getAdChoiceView(com.criteo.publisher.advancednative.CriteoNativeAd nativeAd,
android.view.View overlappedView) |
static java.net.URL |
getImageUrl(com.criteo.publisher.advancednative.CriteoMedia mediaContent) |
static android.widget.ImageView |
getImageView(com.criteo.publisher.advancednative.CriteoMediaView mediaView) |
static void |
setAdChoiceClickableView(com.criteo.publisher.advancednative.CriteoNativeAd nativeAd,
android.view.View adChoiceView) |
static void |
setRenderer(com.criteo.publisher.advancednative.CriteoNativeAd nativeAd,
com.criteo.publisher.advancednative.CriteoNativeRenderer renderer) |
public NativeInternalForAdMob()
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.
@Nullable
public static android.view.View getAdChoiceView(@NonNull
com.criteo.publisher.advancednative.CriteoNativeAd nativeAd,
@NonNull
android.view.View overlappedView)
public static void setAdChoiceClickableView(@NonNull
com.criteo.publisher.advancednative.CriteoNativeAd nativeAd,
@NonNull
android.view.View adChoiceView)
public static void setRenderer(@NonNull
com.criteo.publisher.advancednative.CriteoNativeAd nativeAd,
@NonNull
com.criteo.publisher.advancednative.CriteoNativeRenderer renderer)
@NonNull
public static android.widget.ImageView getImageView(@NonNull
com.criteo.publisher.advancednative.CriteoMediaView mediaView)
@NonNull
public static java.net.URL getImageUrl(@NonNull
com.criteo.publisher.advancednative.CriteoMedia mediaContent)