Structure

MusicKit.Configuration

A dictionary used to configure the MusicKit instance.

Declaration

dictionary MusicKit.Configuration {
    MusicKit.AppConfiguration app;
    MusicKit.PlaybackBitrate bitrate;
    false | true | undefined declarativeMarkup;
    string | undefined developerToken;
    string | undefined storefrontId;
};

Topics

Instance Properties

app

A property that defines your app configuration.

bitrate

The bit rate for this MusicKit configuration.

declarativeMarkup

This property indicates whether you have explicitly enabled or disabled declarative markup.

developerToken

The developer token to identify yourself as a trusted developer and member of the Apple Developer Program.

storefrontId

The current storefront for this MusicKit configuration.

See Also

Configuring the Player

configure

Configure a MusicKit instance.

getInstance

Returns the configured MusicKit instance.

MusicKit.AppConfiguration

A configuration for an app.

MusicKit.MusicKitInstance

This object provides access to a player instance, and through the player instance, access to control playback.