CompanionAdView
The View to display companion ads.
IMPORTANT:
The companion ad size must be set prior to calling showCompanionAdView. The ad size and the View size are not the same thing. For example, a 320x50 ad can be loaded in a WRAP_CONTENT view.
A fallback size can be set in case no companion ad is available with the primary size.This feature was added in order to easily support 320x50 and 300x50 dimensions in the same view.
Types
Controls the loading of an URL in the web view or launch the external browser.
Functions
Finds the best companion ad size, from an list of companion ads, which fits a layout container.
Returns the companion ad's fallback height (in density-independent pixels).
Returns the companion ad's fallback width (in density-independent pixels).
Returns the companion ad's height (in density-independent pixels).
Returns the companion ad's width (in density-independent pixels).
Returns true if the companion an ad is loaded and visible.
Pauses any extra processing associated with this CompanionAdView.
Resumes processing of this CompanionAdView after a previous call to onPause
Destroys the internal state of this CompanionAdView.
Sets the companion ad size (in density-independent pixels).
Finds the suitable companion ad to display.