NativeAdView

public abstract class NativeAdView extends FrameLayout
Known Direct Subclasses

The root view for all Google native ads.

Inherited Constant Summary

Inherited Field Summary

Public Constructor Summary

NativeAdView(Context context)
Construct a NativeAdView from code.
NativeAdView(Context context, AttributeSet attrs)
Construct a NativeAdView from an XML layout.
NativeAdView(Context context, AttributeSet attrs, int defStyleAttr)
Construct a NativeAdView from an XML layout.
NativeAdView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
Construct a NativeAdView from an XML layout.

Public Method Summary

void
destroy()
Destroy the native ad view.
AdChoicesView
getAdChoicesView()
Returns the view associated with AdChoices content.
void
setAdChoicesView(AdChoicesView adChoicesView)
Sets an AdChoicesView for displaying AdChoices content.
void
setNativeAd(NativeAd ad)
Sets the NativeAd that this view is currently displaying.

Inherited Method Summary