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