TrafficViewModel

class TrafficViewModel(observeMapTrafficIsEnabled: ObserveMapTrafficSettingEnabledUseCase, observeRouteLineTrafficIsEnabled: ObserveRouteLineTrafficEnabledUseCase, setMapTrafficIsEnabled: SetMapTrafficIsEnabledUseCase, setRouteLineTrafficIsEnabled: SetRouteLineTrafficIsEnabledUseCase, settingsRepository: SettingsRepository) : ViewModel

Constructors

Link copied to clipboard
constructor(observeMapTrafficIsEnabled: ObserveMapTrafficSettingEnabledUseCase, observeRouteLineTrafficIsEnabled: ObserveRouteLineTrafficEnabledUseCase, setMapTrafficIsEnabled: SetMapTrafficIsEnabledUseCase, setRouteLineTrafficIsEnabled: SetRouteLineTrafficIsEnabledUseCase, settingsRepository: SettingsRepository)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

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