Package com.my.target.nativeads
Class MediationHelper
- java.lang.Object
-
- com.my.target.nativeads.MediationHelper
-
public final class MediationHelper extends java.lang.ObjectHelper class for mediation adapters. There is no reason to use this in regular cases.
-
-
Constructor Summary
Constructors Constructor Description MediationHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidregisterView(NativeAd nativeAd, android.view.View view, java.util.List<android.view.View> clickableViews, MediaAdView mediaAdView)Proxy method for registration with specified MediaView.
-
-
-
Method Detail
-
registerView
public static void registerView(@NonNull NativeAd nativeAd, @NonNull android.view.View view, @Nullable java.util.List<android.view.View> clickableViews, @Nullable MediaAdView mediaAdView)Proxy method for registration with specified MediaView. Used in mediation adapters to prevent playing media content in wrong MediaView in case of multiple mediated views one into another.- Parameters:
nativeAd- registered NativeAd objectview- view to registerclickableViews- specific clickable views inside Advertising view. If set, the only views in this list will be clickable. Otherwise, whole view will be clickablemediaAdView- specific MediaAdView for this NativeAd- See Also:
NativeAd,MediaAdView
-
-