MapGptSettingsViewModel

class MapGptSettingsViewModel(mapGptManager: MapGptManagerImpl, sessionIdRepository: SessionIdRepository, conversationIdRepository: ConversationIdRepository, authenticationRepository: AuthenticationRepository, languageRepository: LanguageRepository, carouselRepository: CarouselRepository, mapGptSettings: MapGptSettings, localChatOwner: LocalChatOwner, observeDebugMenuVisibility: ObserveIsDebugModeEnabledUseCase, isDebugModeEnabledUseCase: IsDebugModeEnabledUseCase) : ViewModel

Constructors

Link copied to clipboard
constructor(mapGptManager: MapGptManagerImpl, sessionIdRepository: SessionIdRepository, conversationIdRepository: ConversationIdRepository, authenticationRepository: AuthenticationRepository, languageRepository: LanguageRepository, carouselRepository: CarouselRepository, mapGptSettings: MapGptSettings, localChatOwner: LocalChatOwner, observeDebugMenuVisibility: ObserveIsDebugModeEnabledUseCase, isDebugModeEnabledUseCase: IsDebugModeEnabledUseCase)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val availableLanguages: StateFlow<Set<Language>>
Link copied to clipboard
val availableVoices: StateFlow<Set<Voice>>
Link copied to clipboard
val chatEnabled: Flow<Boolean>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val endpointType: Flow<String>
Link copied to clipboard
val llmProfile: StateFlow<String>
Link copied to clipboard
Link copied to clipboard
val localChatState: StateFlow<LocalChatState>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val selectedLanguage: StateFlow<Language?>
Link copied to clipboard
val selectedVoice: StateFlow<Voice>
Link copied to clipboard
val sessionId: StateFlow<String?>
Link copied to clipboard
val userId: Flow<String?>
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getAvailableMusicPlayerProviders(): Set<MusicPlayerProvider>
Link copied to clipboard
fun getAvailableUserInputMiddleware(): Flow<Set<UserInputProvider>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getUserInputMiddleware(): UserInputProvider
Link copied to clipboard
fun observeMusicPlayerProvider(): StateFlow<MusicPlayerProvider>
Link copied to clipboard
fun observeUserInputMiddleware(): Flow<UserInputProvider>
Link copied to clipboard
fun onChatEnabled(enabled: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun onLanguageChanged(language: Language)
Link copied to clipboard
Link copied to clipboard
fun onMapGptEnabled(enabled: Boolean)
Link copied to clipboard
fun onMusicPlayerProviderChanged(provider: MusicPlayerProvider)
Link copied to clipboard
fun onProfileIdChanged(profileId: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun onUserInputMiddlewareChanged(name: UserInputProvider)
Link copied to clipboard
fun onVoiceChanged(voice: Voice)
Link copied to clipboard