foo-webview-sdk
    Preparing search index...

    Interface PlaylistInsertTracksSuccess

    Successful response from playlist.insertTracks.

    interface PlaylistInsertTracksSuccess {
        addedCount: number;
        contentVersion: string;
        countBefore: number;
        insertIndex: number;
        invalidCount: number;
        playlist: number;
        playlistGuid: string;
        requestedCount: number;
        success: true;
        totalCount: number;
    }
    Index
    addedCount: number

    Tracks inserted.

    contentVersion: string

    Already includes this change; pass it as expectedVersion to the next call.

    countBefore: number

    Number of tracks before the insertion.

    insertIndex: number

    The position that was asked for, before it was limited to the end of the playlist.

    invalidCount: number

    Entries that were not usable.

    playlist: number

    Index of the playlist.

    playlistGuid: string

    Unique identifier of the playlist, formatted as {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}. Pass as playlistGuid to reliably target this playlist.

    requestedCount: number

    Number of entries in handles.

    success: true

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

    totalCount: number

    Number of tracks after the insertion.