foo-webview-sdk
    Preparing search index...

    Interface SelectionGetViewerModeSuccess

    Successful response from selection.getViewerMode.

    interface SelectionGetViewerModeSuccess {
        mode: "prefer_playing" | "prefer_selection";
        success: true;
    }
    Index
    mode: "prefer_playing" | "prefer_selection"

    prefer_playing when the selection type is the playing track, else prefer_selection.

    success: true

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