foo-webview-sdk
    Preparing search index...

    Interface WindowSetPopupBehaviorSuccess

    Successful response from window.setPopupBehavior.

    interface WindowSetPopupBehaviorSuccess {
        behavior: Record<string, JsonValue>;
        profile: "standard" | "legacy" | "miniPlayer" | "desktopLyrics";
        resolvedBehavior: WindowPopupBehaviorState;
        success: true;
        windowId: string;
    }
    Index
    behavior: Record<string, JsonValue>

    The behavior overrides after the merge.

    profile: "standard" | "legacy" | "miniPlayer" | "desktopLyrics"

    The behavior preset.

    resolvedBehavior: WindowPopupBehaviorState

    The behavior in effect.

    success: true

    Always true here; a failed call resolves with ApiFailure instead.

    windowId: string

    Id of the popup.