Package com.my.target.nativeads
Class MediationHelper
-
- All Implemented Interfaces:
public final class MediationHelperHelper class for mediation adapters. There is no reason to use this in regular cases.
-
-
Method Summary
Modifier and Type Method Description static voidregisterView(@NonNull() NativeAd nativeAd, @NonNull() View view, @Nullable() List<View> clickableViews, @Nullable() MediaAdView mediaAdView)Proxy method for registration with specified MediaView. -
-
Method Detail
-
registerView
static void registerView(@NonNull() NativeAd nativeAd, @NonNull() View view, @Nullable() List<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.mediaAdView- specific MediaAdView for this NativeAd
-
-
-
-