Skip to content
Client
Server

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

Interface: tSkippedPreview<T> ​

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

A track load left out of the queue: where it was in the list handed over, and why it cannot be played.

Type Parameters ​

T ​

T

Properties ​

index ​

ts
readonly index: number;

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

Where the track was in the list handed to load, counted from 0.


reason ​

ts
readonly reason: "no-preview" | "host";

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

"no-preview": the track has no clip. "host": its clip is not on one of the hosts allowed.


track ​

ts
readonly track: T;

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

The track as it was handed over.

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