Structure

MusicKit.MediaItemOptions

The options to use when defining a media item.

Declaration

dictionary MusicKit.MediaItemOptions {
    any attributes;
    string | undefined id;
    MediaItemType type;
};

Topics

Instance Properties

attributes

The attributes for the media item.

id

The identifier for the media item.

type

The type for the media item.

See Also

Media Items

MusicKit.MediaItem

This class represents a single media item.

descriptor

This property describes a media item.