RoutingSettingsViewModel

class RoutingSettingsViewModel(settingsRepository: SettingsRepository, observePreferredNetworksEnabled: ObservePreferredNetworksEnabledUseCase, observeIsElectricVehicle: ObserveIsElectricVehicle, observeIsRoutePreview: ObserveIsRoutePreviewUseCase, sendPillToggledEvent: SendPillToggledEventUseCase) : ViewModel

Constructors

Link copied to clipboard
constructor(settingsRepository: SettingsRepository, observePreferredNetworksEnabled: ObservePreferredNetworksEnabledUseCase, observeIsElectricVehicle: ObserveIsElectricVehicle, observeIsRoutePreview: ObserveIsRoutePreviewUseCase, sendPillToggledEvent: SendPillToggledEventUseCase)

Properties

Link copied to clipboard
val avoidFerriesEnabled: MutableStateFlow<Boolean>
Link copied to clipboard
val avoidHighwaysEnabled: MutableStateFlow<Boolean>
Link copied to clipboard
val avoidToolsEnabled: MutableStateFlow<Boolean>
Link copied to clipboard
Link copied to clipboard
val vignetteCountries: MutableStateFlow<Set<VignetteCountry>>
Link copied to clipboard
val vignetteRoadsParamType: MutableStateFlow<VignetteRoadsParamType>

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard