SettingsRelatedRouteOptionsManager

class SettingsRelatedRouteOptionsManager constructor(settingsRepository: SettingsRepository, observeUserPreferredUnitOfMeasurements: () -> Flow<UnitOfMeasurement>, directionsSettings: DirectionsSettings, getDirectionsUser: () -> String, observeSettingsScreenClosed: () -> Flow<Boolean>, provideEvRoutingData: () -> StateFlow<Map<String, String>>)

Constructors

Link copied to clipboard
constructor(settingsRepository: SettingsRepository, observeUserPreferredUnitOfMeasurements: () -> Flow<UnitOfMeasurement>, directionsSettings: DirectionsSettings, getDirectionsUser: () -> String, observeSettingsScreenClosed: () -> Flow<Boolean>, provideEvRoutingData: () -> StateFlow<Map<String, String>>)

Functions

Link copied to clipboard
fun updateRouteOptionsBasedOnSettings(routeOptionsBuilder: RouteOptions.Builder): RouteOptions.Builder