Instance Method
skip()
Skips or dismisses the current ad when allowed. A successful linear-ad skip is signaled via an AdSkippedEvent. An active pause ad is dismissed immediately and signaled via NonLinearAdSkippedEvent.
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.