Skip to content
Client
Server

Reference / @open-music-sdk/browser / tConnectOptions

Interface: tConnectOptions ​

Defined in: integrations/browser/src/connect.ts:53

Invalid values throw a TypeError when the helper is made.

Properties ​

app ​

ts
readonly app: tConnectApp;

Defined in: integrations/browser/src/connect.ts:55

The app, as Apple's script is configured with it; its sign-in window names the app by the page's host.


musicKit? ​

ts
readonly optional musicKit?: tMusicKit;

Defined in: integrations/browser/src/connect.ts:60

The page's own MusicKit, when it loaded Apple's script itself, under a CSP nonce or Trusted Types. Default: loaded from Apple's CDN, once per page however many helpers are made.

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