DashMiddlewareManagerImpl

class DashMiddlewareManagerImpl(val mapGptCore: MapGptCore, mapGptCoreContext: MapGptCoreContext, val serviceCapabilitiesRepository: MapGptServiceCapabilitiesRepository, languageCompatibilityManager: LanguageCompatibilityManager, userInputMiddlewareManager: UserInputMiddlewareManager, userInputMiddlewareContextProvider: () -> UserInputMiddlewareContext, voicePlayerMiddlewareManager: VoicePlayerMiddlewareManager, val musicPlayerMiddlewareManager: MusicPlayerMiddlewareManager, aiSpeechPlayerMiddleware: AiSpeechPlayerMiddleware, aiSpeechPlayerContextProvider: () -> AiSpeechPlayerMiddleware.Context) : DashMiddlewareManager, DashMiddlewareAccessor

Constructors

Link copied to clipboard
constructor(mapGptCore: MapGptCore, mapGptCoreContext: MapGptCoreContext, serviceCapabilitiesRepository: MapGptServiceCapabilitiesRepository, languageCompatibilityManager: LanguageCompatibilityManager, userInputMiddlewareManager: UserInputMiddlewareManager, userInputMiddlewareContextProvider: () -> UserInputMiddlewareContext, voicePlayerMiddlewareManager: VoicePlayerMiddlewareManager, musicPlayerMiddlewareManager: MusicPlayerMiddlewareManager, aiSpeechPlayerMiddleware: AiSpeechPlayerMiddleware, aiSpeechPlayerContextProvider: () -> AiSpeechPlayerMiddleware.Context)

Properties

Link copied to clipboard
open override val availableUserInputMiddleware: StateFlow<Set<UserInputOwnerMiddleware>>

DashMiddlewareAccessor below

Link copied to clipboard
open override val mapGptCore: MapGptCore
Link copied to clipboard
open override val musicPlayer: MusicPlayerMiddlewareManager
Link copied to clipboard
open override val musicPlayerMiddlewareManager: MusicPlayerMiddlewareManager
Link copied to clipboard
open override val userInputOwner: UserInputOwner
Link copied to clipboard
open override val userInputOwnerMiddleware: StateFlow<UserInputOwnerMiddleware>

Functions

Link copied to clipboard
Link copied to clipboard
open override fun setDefaultUserInputMiddleware()

DashMiddlewareManager below

Link copied to clipboard

Set the default Speech to Text middleware.

Link copied to clipboard
open override fun setUserInputMiddleware(middleware: UserInputOwnerMiddleware)

Set the Speech to Text middleware. There can only be one UserInputOwnerMiddleware at a time.

Link copied to clipboard
open override fun setVoicePlayerMiddleware(middleware: VoicePlayerMiddleware)

Set the Text to Speech middleware. There can only be one VoicePlayerMiddleware at a time.