mirror of
https://github.com/janishutz/musickitjs-v3-types.git
synced 2026-10-08 20:56:23 +02:00
37 lines
739 B
TypeScript
37 lines
739 B
TypeScript
declare namespace MusicKit {
|
|
/**
|
|
* The bitrate to choose for playback. HIGH is 256kbps, STANDARD is 64kbps
|
|
*/
|
|
enum PlaybackBitrate {
|
|
'HIGH',
|
|
'STANDARD'
|
|
}
|
|
|
|
/**
|
|
* State of the player. See https://js-cdn.music.apple.com/musickit/v3/docs/iframe.html?id=reference-javascript-musickit--page&viewMode=story&args=#playbackstates
|
|
*/
|
|
enum PlaybackStates {
|
|
'none',
|
|
'loading',
|
|
'playing',
|
|
'paused',
|
|
'stopped',
|
|
'ended',
|
|
'seeking',
|
|
'waiting',
|
|
'stalled',
|
|
'completed'
|
|
}
|
|
|
|
enum PlayerRepeatMode {
|
|
'all',
|
|
'none',
|
|
'one'
|
|
}
|
|
|
|
enum PlayerShuffleMode {
|
|
'on',
|
|
'off'
|
|
}
|
|
}
|