NativeAdView

NativeAdView provides a templated view for a NativeAd with flexible width and height determined by NativeAdView.Type. The NativeAdView officially supports widths between 280dp and 375dp. An optional NativeAdViewAttributes object can customize the template view.

扩展:Object
应用安装包:ads
构造函数
NativeAdView()
public NativeAdView()
类方法
render(Context, NativeAd, Type)
public static View render(Context context, NativeAd nativeAd, Type type)
参数描述
context
nativeAd
type
render(Context, NativeAd, Type, NativeAdViewAttributes)
public static View render(Context context, NativeAd nativeAd, Type type, NativeAdViewAttributes attributes)
参数描述
context
nativeAd
type
attributes