DashMiddlewareManagerImpl

class DashMiddlewareManagerImpl(val mapGptCore: MapGptCore, mapGptCoreContext: MapGptCoreContext, val serviceCapabilitiesRepository: MapGptServiceCapabilitiesRepository, userInputMiddlewareContextProvider: () -> UserInputMiddlewareContext, lifecycleOwner: LifecycleOwner, languageCompatibilityManager: LanguageCompatibilityManager, userInputMiddlewareManager: UserInputMiddlewareManager, voicePlayerMiddlewareManager: VoicePlayerMiddlewareManager, val musicPlayerMiddlewareManager: MusicPlayerMiddlewareManager) : DashMiddlewareManager, DashMiddlewareAccessor

Constructors

Link copied to clipboard
constructor(mapGptCore: MapGptCore, mapGptCoreContext: MapGptCoreContext, serviceCapabilitiesRepository: MapGptServiceCapabilitiesRepository, userInputMiddlewareContextProvider: () -> UserInputMiddlewareContext, lifecycleOwner: LifecycleOwner, languageCompatibilityManager: LanguageCompatibilityManager, userInputMiddlewareManager: UserInputMiddlewareManager, voicePlayerMiddlewareManager: VoicePlayerMiddlewareManager, musicPlayerMiddlewareManager: MusicPlayerMiddlewareManager)

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
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.