foo-webview-sdk
    Preparing search index...

    Interface LibraryQuerySuccess

    Successful response from library.query.

    interface LibraryQuerySuccess {
        success: true;
        total: number;
        tracks: LibraryTrackPartial[];
    }
    Index
    success: true

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

    total: number

    Matches, before limit.

    The matches, sorted by sort or in library order; index is the position in this list. Each row carries the fields asked for; albumId is omitted when unavailable.