foo-webview-sdk
    Preparing search index...

    Interface SelectionGetTypeSuccess

    Successful response from selection.getType.

    interface SelectionGetTypeSuccess {
        success: true;
        type: number;
        typeName:
            | "unknown"
            | "now_playing"
            | "active_playlist_selection"
            | "active_playlist"
            | "playlist_manager"
            | "media_library_viewer";
    }
    Index
    success: true

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

    type: number

    Numeric index of the type: 0 now_playing, 1 active_playlist_selection, 2 active_playlist, 3 playlist_manager, 5 media_library_viewer, 0 when unknown.

    typeName:
        | "unknown"
        | "now_playing"
        | "active_playlist_selection"
        | "active_playlist"
        | "playlist_manager"
        | "media_library_viewer"

    Name of the type.