AdvertisingApi
interface AdvertisingApi
Provides the means to interact with advertising features. Accessible through Player.ads.
Properties
Functions
| Name | Summary |
|---|---|
| schedule | abstract fun schedule(adItem: AdItem) Schedules the adItem for playback. |
| setViewGroup | abstract fun setViewGroup(adViewGroup: ViewGroup?) Sets the ViewGroup in which the ad and the ad UI should be created. |
| skip | abstract fun skip() Skips the current ad. A successful skip is signaled via PlayerEvent.AdSkipped. |