MapGptSettingsViewModel

class MapGptSettingsViewModel(val 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
val authUserId: Flow<String?>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val availableLanguages: StateFlow<Set<Language>>
Link copied to clipboard
val availableUserInputMiddleware: StateFlow<Set<UserInputProvider>>
Link copied to clipboard
val availableVoices: StateFlow<Set<Voice>>
Link copied to clipboard
val chatEnabled: PersistedMutableStateFlow<Boolean>
Link copied to clipboard
val conversationId: StateFlow<String?>
Link copied to clipboard
Link copied to clipboard
val endpointType: StateFlow<String>
Link copied to clipboard
val interruptionsEnabled: PersistedMutableStateFlow<Boolean>
Link copied to clipboard
val isSpeechRecognizer: StateFlow<Boolean>
Link copied to clipboard
val llmProfile: StateFlow<String>
Link copied to clipboard
val localChatOverrideEnabled: PersistedMutableStateFlow<Boolean>
Link copied to clipboard
val localChatState: StateFlow<LocalChatState>
Link copied to clipboard
val mapGptCore: MapGptCore
Link copied to clipboard
val mapGptEnabled: StateFlow<Boolean>
Link copied to clipboard
Link copied to clipboard
val mapGptReplayPlaying: MutableStateFlow<Boolean>
Link copied to clipboard
val mapGptReplayRecordingActive: MutableStateFlow<Boolean>
Link copied to clipboard
val musicPlayerProvider: StateFlow<MusicPlayerProvider>
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 userInputMiddleware: StateFlow<UserInputProvider>

Functions

Link copied to clipboard
Link copied to clipboard
fun getAvailableMusicPlayerProviders(): Set<MusicPlayerProvider>
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
fun onUserInputMiddlewareChanged(name: UserInputProvider)
Link copied to clipboard
fun onVoiceChanged(voice: Voice)