DebugSettingsViewModel

class DebugSettingsViewModel(observeSendDebugInfoButtonEnabled: ObserveSendDebugInfoButtonEnabledUseCase, setSendDebugInfoButtonEnabled: SetSendDebugInfoButtonEnabledUseCase, observeDebugInfoVisibility: ObserveDebugInfoVisibilityUseCase, changeDebugInfoVisibility: ChangeDebugInfoVisibilityUseCase, observeCameraDebugIsEnabled: ObserveCameraDebugIsEnabledUseCase, setCameraDebugIsEnabled: SetCameraDebugIsEnabledUseCase, debugModeRepository: DebugModeRepository, observeLocationSimulationEnabled: ObserveLocationSimulationEnabledUseCase, changeLocationSimulation: ChangeLocationSimulationUseCase, observeDebugPointsAlongRouteIsEnabled: ObserveDebugPointsAlongRouteIsEnabledUseCase, setDebugPointsAlongRouteIsEnabled: SetDebugPointsAlongRouteIsEnabledUseCase, vehicleStorageRepository: VehicleStorageRepository, debugGuidancePlayer: DebugGuidancePlayer, isWeatherIntegrationEnabledUseCase: IsWeatherIntegrationEnabledUseCase, observeUserPreferredCurrentWeather: ObserveUserPreferredCurrentWeatherSettingsUseCase, setUserPreferredCurrentWeatherUseCase: SetUserPreferredCurrentWeatherUseCase, observeHvacLevelUseCase: ObserveHvacLevelSettingsUseCase, observeRouteMarkersDebugVisibilityUseCase: ObserveRouteMarkersDebugVisibilityUseCase, setRouteMarkersDebugEnabledUseCase: SetRouteMarkersDebugEnabledUseCase, observeTerrain3DSetting: ObserveTerrain3DSettingUseCase, setTerrain3D: SetTerrain3DUseCase, sendPillToggledEvent: SendPillToggledEventUseCase, observeUserPreferredUnitOfMeasurements: ObserveUserPreferredUnitOfMeasurementsUseCase, configRepository: ConfigRepository, observeIsElectricVehicle: ObserveIsElectricVehicle, observeLocalTtsEnableUseCase: ObserveLocalTtsEnableUseCase, val setLocalTtsEnableUseCase: SetLocalTtsEnableUseCase, observeUserPreferredUnitOfMeasurementSettings: ObserveUserPreferredUnitOfMeasurementSettingsUseCase, setUserPreferredUnitsSettings: SetUserPreferredUnitsSettingsUseCase) : ViewModel

Constructors

Link copied to clipboard
constructor(observeSendDebugInfoButtonEnabled: ObserveSendDebugInfoButtonEnabledUseCase, setSendDebugInfoButtonEnabled: SetSendDebugInfoButtonEnabledUseCase, observeDebugInfoVisibility: ObserveDebugInfoVisibilityUseCase, changeDebugInfoVisibility: ChangeDebugInfoVisibilityUseCase, observeCameraDebugIsEnabled: ObserveCameraDebugIsEnabledUseCase, setCameraDebugIsEnabled: SetCameraDebugIsEnabledUseCase, debugModeRepository: DebugModeRepository, observeLocationSimulationEnabled: ObserveLocationSimulationEnabledUseCase, changeLocationSimulation: ChangeLocationSimulationUseCase, observeDebugPointsAlongRouteIsEnabled: ObserveDebugPointsAlongRouteIsEnabledUseCase, setDebugPointsAlongRouteIsEnabled: SetDebugPointsAlongRouteIsEnabledUseCase, vehicleStorageRepository: VehicleStorageRepository, debugGuidancePlayer: DebugGuidancePlayer, isWeatherIntegrationEnabledUseCase: IsWeatherIntegrationEnabledUseCase, observeUserPreferredCurrentWeather: ObserveUserPreferredCurrentWeatherSettingsUseCase, setUserPreferredCurrentWeatherUseCase: SetUserPreferredCurrentWeatherUseCase, observeHvacLevelUseCase: ObserveHvacLevelSettingsUseCase, observeRouteMarkersDebugVisibilityUseCase: ObserveRouteMarkersDebugVisibilityUseCase, setRouteMarkersDebugEnabledUseCase: SetRouteMarkersDebugEnabledUseCase, observeTerrain3DSetting: ObserveTerrain3DSettingUseCase, setTerrain3D: SetTerrain3DUseCase, sendPillToggledEvent: SendPillToggledEventUseCase, observeUserPreferredUnitOfMeasurements: ObserveUserPreferredUnitOfMeasurementsUseCase, configRepository: ConfigRepository, observeIsElectricVehicle: ObserveIsElectricVehicle, observeLocalTtsEnableUseCase: ObserveLocalTtsEnableUseCase, setLocalTtsEnableUseCase: SetLocalTtsEnableUseCase, observeUserPreferredUnitOfMeasurementSettings: ObserveUserPreferredUnitOfMeasurementSettingsUseCase, setUserPreferredUnitsSettings: SetUserPreferredUnitsSettingsUseCase)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val currentWeather: Flow<Int>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val engineType: Flow<EngineType?>
Link copied to clipboard
val hvacLevel: Flow<Float>
Link copied to clipboard
val localTtsEnable: StateFlow<Boolean>
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 unitOfMeasurement: Flow<UnitOfMeasurement>
Link copied to clipboard
val userPreferredDistanceUnits: StateFlow<UnitOfMeasurementSettings>

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun onCurrentWeatherChanged(weatherType: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun onDriveModeChanged(driveModeSetting: DriveModeSetting)
Link copied to clipboard
fun onEngineTypeChanged(engineType: EngineType?)
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
Link copied to clipboard
Link copied to clipboard
fun onToggleTerrain3d(isEnabled: Boolean)
Link copied to clipboard
fun onUserPreferredDistanceUnitsChanged(unitOfMeasurementSettings: UnitOfMeasurementSettings)