Structure

MusicKit.SetQueueOptions

The options to use when setting a music player's playback queue.

Declaration

dictionary MusicKit.SetQueueOptions {
    string | undefined album;
    Array<MusicKit.descriptor> items;
    QueryParameters parameters;
    string | undefined playlist;
    string | undefined song;
    Array<string> songs;
    number | undefined startPosition;
    string | undefined url;
};

Topics

Instance Properties

album

The catalog album used to set a music player's playback queue.

items

The media items used to set a music player's playback queue.

parameters

The parameters used to set a music player's playback queue.

playlist

The playlist used to set a music player's playback queue.

song

The song used to set a music player's playback queue.

songs

The songs used to set a music player's playback queue.

startPosition

The start position for a set playback queue.

url

A content URL used to set a music player's playback queue.

See Also

Playlist Queues

MusicKit.Queue

An array of media items to be played.