foo-webview-sdk
    Preparing search index...

    Interface SelectionGetSuccess

    Successful response from selection.get.

    interface SelectionGetSuccess {
        count: number;
        handles: string[];
        hasMore: boolean;
        offset: number;
        success: true;
        truncated?: boolean;
        type:
            | "unknown"
            | "now_playing"
            | "active_playlist_selection"
            | "active_playlist"
            | "playlist_manager"
            | "media_library_viewer";
    }
    Index
    count: number

    Size of the whole selection, not of this page.

    handles: string[]

    Handles of this page: native paths with |subsong:N appended when the subsong is not 0.

    hasMore: boolean

    Whether entries remain after this page.

    offset: number

    The offset that applied.

    success: true

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

    truncated?: boolean

    Present, and true, only when limit was omitted and the selection exceeds 100.

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

    Where the selection comes from.