AppOpenAdView

public final class AppOpenAdView extends ViewGroup

The View to display app open ads. App open ads are ads displayed at app open time. Typically, this view would be used in a dedicated activity which only gets launched at app open time.

Inherited Constant Summary

Inherited Field Summary

Public Constructor Summary

AppOpenAdView(Context context)
Constructor for AppOpenAdView.
AppOpenAdView(Context context, AttributeSet attrs)
Construct a AppOpenAdView from an XML layout.
AppOpenAdView(Context context, AttributeSet attrs, int defStyle)
Construct an AppOpenAdView from an XML layout.

Public Method Summary

void
setAppOpenAd(AppOpenAd ad)
Sets the AppOpenAd that this view is currently displaying.
void

Inherited Method Summary

Public Constructors

public AppOpenAdView (Context context)

Constructor for AppOpenAdView.

Parameters
context The Context the AppOpenAdView is running in.

public AppOpenAdView (Context context, AttributeSet attrs)

Construct a AppOpenAdView from an XML layout.

public AppOpenAdView (Context context, AttributeSet attrs, int defStyle)

Construct an AppOpenAdView from an XML layout.

Public Methods

public void setAppOpenAd (AppOpenAd ad)

Sets the AppOpenAd that this view is currently displaying.

Parameters
ad the app open ad that the view is currently displaying.

public void setAppOpenAdPresentationCallback (AppOpenAdPresentationCallback callback)

Sets the AppOpenAdPresentationCallback to this view. The AppOpenAdPresentationCallback gets notified when the ad closes.

Parameters
callback the callback that gets notified of presentation events.