SpotifyMusicPlayerMiddleware
class SpotifyMusicPlayerMiddleware(spotifyTokenProvider: SpotifyTokenProvider) : CoroutineMiddleware<MusicPlayerContext> , MusicPlayerMiddleware
Spotify implementation of MusicPlayerMiddleware. This provides a place to integrate spotify with the MapGPT Ai-Assistant.
Functions
Link copied to clipboard
fun <R> contextState(started: SharingStarted = SharingStarted.Eagerly, function: SpotifyMusicPlayerContext.() -> Flow<R>): StateFlow<R?>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun registerPermissionLauncher(musicPlayerContext: MusicPlayerContext, activityResultCaller: ActivityResultCaller)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard