OptiView Ads SDK for React Native
    Preparing search index...

    Interface RnPresentationState

    What the SDK is presenting — the RN mirror of the web OptiViewAds.getPresentationState() shape. insertion is iOS-only for now (the Kotlin PresentationState does not carry it yet); windowOwner is web-only and absent on the natives.

    interface RnPresentationState {
        insertion?: "overlay" | "shared-element";
        pictureInPicture: boolean;
        showing: "ad" | "content";
        windowOwner?: "ad" | "content" | null;
    }
    Index
    insertion?: "overlay" | "shared-element"

    How the ad reaches the screen (iOS; absent on Android).

    pictureInPicture: boolean

    Whether the content player is presented in a picture-in-picture window.

    showing: "ad" | "content"

    Which media currently owns the surface.

    windowOwner?: "ad" | "content" | null

    Which element owns the PiP window (web only).