MainSettingsViewModel

class MainSettingsViewModel(observeDebugMenuVisibility: ObserveIsDebugModeEnabledUseCase, isDebugModeEnabledUseCase: IsDebugModeEnabledUseCase, val isTrafficMenuEnabled: Boolean, val isMapGptMenuEnabled: Boolean, sendPillToggledEvent: SendPillToggledEventUseCase, val isMap3DAvailable: Boolean, val is2dModeAvailable: Boolean, val isSatelliteModeAvailable: Boolean, settingsRepository: SettingsRepository, observeUiModeUseCase: ObserveUiModeUseCase, observeRouteOptionsEnabledUseCase: ObserveRouteOptionsEnabledUseCase, observePreferredNetworksEnabledUseCase: ObservePreferredNetworksEnabledUseCase, isElectricVehicle: IsElectricVehicle, observeSpeedLimitsOptionsEnabledUseCase: ObserveSpeedLimitsOptionsEnabledUseCase, observeLocalTTSOptionsEnabledUseCase: ObserveLocalTtsOptionsEnabledUseCase, evMenuSettingsProvider: EvMenuSettingsProvider) : ViewModel

Constructors

Link copied to clipboard
constructor(observeDebugMenuVisibility: ObserveIsDebugModeEnabledUseCase, isDebugModeEnabledUseCase: IsDebugModeEnabledUseCase, isTrafficMenuEnabled: Boolean, isMapGptMenuEnabled: Boolean, sendPillToggledEvent: SendPillToggledEventUseCase, isMap3DAvailable: Boolean, is2dModeAvailable: Boolean, isSatelliteModeAvailable: Boolean, settingsRepository: SettingsRepository, observeUiModeUseCase: ObserveUiModeUseCase, observeRouteOptionsEnabledUseCase: ObserveRouteOptionsEnabledUseCase, observePreferredNetworksEnabledUseCase: ObservePreferredNetworksEnabledUseCase, isElectricVehicle: IsElectricVehicle, observeSpeedLimitsOptionsEnabledUseCase: ObserveSpeedLimitsOptionsEnabledUseCase, observeLocalTTSOptionsEnabledUseCase: ObserveLocalTtsOptionsEnabledUseCase, evMenuSettingsProvider: EvMenuSettingsProvider)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val isNightTheme: StateFlow<Boolean>
Link copied to clipboard
Link copied to clipboard
val localTtsEnable: MutableStateFlow<Boolean>
Link copied to clipboard
val map3DEnabled: MutableStateFlow<Boolean>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val preferredUiMode: MutableStateFlow<UiModeSettings>
Link copied to clipboard
val satelliteModeEnabled: MutableStateFlow<Boolean>
Link copied to clipboard
val voiceInstructionsMuted: MutableStateFlow<Boolean>

Functions

Link copied to clipboard
Link copied to clipboard
fun onToggleMap3d(isEnabled: Boolean)
Link copied to clipboard