isShowingAd

open fun isShowingAd(): Boolean

Whether the surface currently shows AD content, as opposed to the main content.

Almost always the same answer as isAdPlaying, and defaults to it — but not always: an lshape_content break in picture-in-picture is active (so controls stay gated and a second break must not start) while showing nothing but the main content, because its backdrop is suppressed at that size. Drives OptiViewAds.getPresentationState.