-
public final class NativeAdViewManager
-
-
Constructor Summary
Constructors Constructor Description NativeAdViewManager(Config config)
-
Method Summary
-
-
Constructor Detail
-
NativeAdViewManager
NativeAdViewManager(Config config)
-
-
Method Detail
-
showAd
final View showAd(Context context, Map<String, Object> ad, NativeAdSettings adViewSettings)
Shows a native ad view with the specified configuration. Automatically determines the view type based on parameters:
If contentView is provided → Custom view with user layout
If adType is NativeAdStyle.Vertical → Vertical layout
If adType is NativeAdStyle.Horizontal → Horizontal layout
- Parameters:
context- Application context required for view creationad- Map containing the parsed native ad dataadViewSettings- NativeAdSettings with configuration
-
-
-
-