foo-webview-sdk
    Preparing search index...

    Type Alias QueueContentRef

    QueueContentRef:
        | { queueIndex: number }
        | { expectedPlaylistVersion?: string; item: number; playlist: number }
        | { expectedPlaylistVersion?: string; item: number; playlistGuid: string }

    A single entry accepted by queue.setContents.

    { queueIndex } keeps (and repositions) a track already in the queue; { playlist, item } or { playlistGuid, item } adds a playlist track that is not queued yet. A call may freely mix the forms across its items array.

    A row form may carry expectedPlaylistVersion, the playlist's contentVersion when the row was read: if the playlist has changed since, the call changes nothing and fails with STALE_TARGET.