foo-webview-sdk
    Preparing search index...

    Interface LibraryItemsAddedPayload

    Payload of the library:itemsAdded event. Tracks were added to the Media Library. The host drops its library caches before sending it.

    interface LibraryItemsAddedPayload {
        count: number;
        handles: string[];
        timestamp: number;
        truncated: boolean;
    }
    Index
    count: number

    How many tracks.

    handles: string[]

    The handle of every track, the key track rows carry, in no particular order. Empty when truncated.

    timestamp: number

    When the host sent it, in milliseconds since the Unix epoch.

    truncated: boolean

    true when more than 5000 tracks changed at once. handles is then empty, and a page should read again everything it shows.