NativeAdView
Une version plus récente de cette classe est disponible. Rendez-vous sur la dernière version.

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.

Prolonge :Object
Package :ads
Constructeurs
NativeAdView()
public NativeAdView()
Méthodes Class
render(Context, NativeAd, Type)
public static View render(Context context, NativeAd nativeAd, Type type)
ParamètreDescription
context
nativeAd
type
render(Context, NativeAd, Type, NativeAdViewAttributes)
public static View render(Context context, NativeAd nativeAd, Type type, NativeAdViewAttributes attributes)
ParamètreDescription
context
nativeAd
type
attributes