public static interface AdsLoader.AdViewProvider
| Modifier and Type | Method and Description |
|---|---|
android.view.View[] |
getAdOverlayViews()
Returns an array of views that are shown on top of the ad view group, but that are essential
for controlling playback and should be excluded from ad viewability measurements by the
AdsLoader (if it supports this). |
android.view.ViewGroup |
getAdViewGroup()
Returns the
ViewGroup on top of the player that will show any ad UI. |
android.view.ViewGroup getAdViewGroup()
ViewGroup on top of the player that will show any ad UI.android.view.View[] getAdOverlayViews()
AdsLoader (if it supports this).
Each view must be either a fully transparent overlay (for capturing touch events), or a small piece of transient UI that is essential to the user experience of playback (such as a button to pause/resume playback or a transient full-screen or cast button). For more information see the documentation for your ads loader.