Package-level declarations

Types

Link copied to clipboard

The class is responsible to authenticate the app to use Apple Music SDK with the token provided by the developerTokenProvider.

Link copied to clipboard

The class is a MiddlewareContext that can be used inside CoroutineMiddleware.onAttached to access it's properties for easy access.

Link copied to clipboard

Contains properties specific to apple music player state and authentication.

Link copied to clipboard
class AppleMusicPlayerMiddleware(developerTokenProvider: AppleMusicTokenProvider) : CoroutineMiddleware<MusicPlayerContext> , MusicPlayerMiddleware

A MusicPlayerMiddleware that uses the Apple Music SDK. Provide a AppleMusicTokenProvider to get the developer token and user token. Add the AppleMusicPlayerMiddleware to the DashMapGptConfig to enable the music player.

Link copied to clipboard

Required for authenticating an app with Apple Music.

Link copied to clipboard