Skip to content
Client
Server

Reference / @open-music-sdk/lib-preview-player / tLoadedPreviews

Interface: tLoadedPreviews<T> ​

Defined in: lib/lib-preview-player/src/player.ts:126

What load answers with: the tracks that are now the queue, and the ones left out of it.

Type Parameters ​

T ​

T

Properties ​

skipped ​

ts
readonly skipped: readonly tSkippedPreview<T>[];

Defined in: lib/lib-preview-player/src/player.ts:130

The tracks left out, in order, each with where it was and why.


tracks ​

ts
readonly tracks: readonly T[];

Defined in: lib/lib-preview-player/src/player.ts:128

The queue: the tracks with a clip, in the order they were handed over. The same list state.tracks holds, unless a listener loaded another on hearing of the change.

MIT licensed. Not affiliated with, endorsed by, or sponsored by Apple Inc. Apple Music and MusicKit are trademarks of Apple Inc.