Skip to content
Client
Server

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

Type Alias: tPreviewStatus ​

ts
type tPreviewStatus = "idle" | "loading" | "playing" | "paused" | "ended" | "error";

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

Where a player stands. idle: no track is current. loading: a clip was asked for and has not begun, or has stopped to wait for more of itself. paused: a clip is current and not playing. ended: the last clip of the queue ran out. error: the element could not play the current clip.

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