abstract fun skipAd()

Skips the current ad. A successful skip is signaled via PlayerEvent.AdSkipped.

Has no effect if the current ad is not skippable or if no ad is being played back.


Programmatically skipping the current ad is not supported for ads of type AdSourceType.Ima if IMA renders the 'Skip ad' button. In this case, ad skipping can only be initiated by clicking the 'Skip ad' button on the UI.

For ads of type AdSourceType.Ima the 'Skip ad' button can be hidden by setting ImaConfig.preferredUiType to ImaUiType.Disabled on supported ads.