foo-webview-sdk
    Preparing search index...

    Interface LibraryPagedTracksResponse

    One page of library.getAll, as library.getAll() resolves it: the synchronous answer, or the library:getAllResult payload when the host built the page off the main thread.

    interface LibraryPagedTracksResponse {
        fromCache?: boolean;
        items: LibraryTrack[];
        limit?: number;
        offset?: number;
        success: true;
        total: number;
        tracks: LibraryTrack[];
    }
    Index
    fromCache?: boolean

    true when the page came from the list the host keeps.

    items: LibraryTrack[]

    The same list as tracks.

    limit?: number

    The limit applied.

    offset?: number

    The offset applied.

    success: true

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

    total: number

    Tracks in the library.

    tracks: LibraryTrack[]

    The page in library order; index is the position in the library.