pc500
Well-Known Member
Thanks for this. Your previous response was to the general apple Music JSON API, which does not provide this. The Musickit SDK/API for Android does. This is new since WWDC 2022.Here's the Apple MusicKit API for Android reference:
https://developer.apple.com/musickit/android/
Specfically, take a look at theMediaPlayerController
in thecom.apple.android.music.playback.controller
namespace.
There are multiple ways to queue items for playback, but this function would be of note:
void prepare(@NonNull com.apple.android.music.playback.queue.PlaybackQueueItemProvider queueProvider, boolean playWhenReady)
Sponsored