Instance Method
skip()
Skips the current ad. A successful skip is signaled via an AdSkippedEvent. Has no effect if the current ad is not skippable or if no ad is being played back.
func skip()
Limitations
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.
To hide the ‘Skip ad’ button and enable programmatic skipping on supported IMA ads, set preferredUiType to ImaUiType.disabled.