MediaView
Versi yang lebih baru dari kelas ini sudah tersedia. Lihat versi terbaru.

Mediaview displays native ad media content.

MediaView can be declared and added to view:

MediaView mediaView = new MediaView(context); addView(adView); mediaView.setNativeAd(nativeAd);

Perpanjang:RelativeLayout
Paket:ads
Konstruktor
MediaView(Context, AttributeSet)
public MediaView(Context context, AttributeSet attributeSet)
ParameterKeterangan
context
attributeSet
MediaView(Context)
public MediaView(Context context)
ParameterKeterangan
context
Metode Instance
setNativeAd(NativeAd)
public void setNativeAd(NativeAd nativeAd)
ParameterKeterangan
nativeAd
isAutoplay()
public boolean isAutoplay()
setAutoplay(boolean)
public void setAutoplay(boolean autoplay)
ParameterKeterangan
autoplay