Package-level declarations

Types

Link copied to clipboard
class MiddlewareComposable<C : MiddlewareContext>(    containerProvider: C.() -> ViewGroup,     layoutParams: ViewGroup.LayoutParams,     content: @Composable () -> Unit) : Middleware<C>
Link copied to clipboard
class SpotifyMusicPlayerContext(    val spotifyConnector: SpotifyConnector,     val spotifyAppController: SpotifyAppController,     val playerState: StateFlow<MusicPlayerState?>,     val musicPlayer: MusicPlayer,     val largeViewVisible: MutableStateFlow<Boolean>) : MusicPlayerContext
Link copied to clipboard
class SpotifyMusicPlayerMiddleware(spotifyTokenProvider: SpotifyTokenProvider) : CoroutineMiddleware<MusicPlayerContext> , MusicPlayerMiddleware

Spotify implementation of MusicPlayerMiddleware. This provides a place to integrate spotify with the MapGPT Ai-Assistant.

Link copied to clipboard
fun interface SpotifyTokenProvider

Required for authenticating an app with Spotify.

Functions

Link copied to clipboard
fun <C : MiddlewareContext> middlewareComposable(    layoutParams: ViewGroup.LayoutParams,     containerProvider: C.() -> ViewGroup,     content: @Composable () -> Unit): Middleware<C>