SettingsRepositoryImpl

class SettingsRepositoryImpl(storage: Storage, defaultSettingValueProvider: DefaultSettingValueProvider, supportingCapabilities: SupportingCapabilities, defaultSettings: DefaultSettings) : SettingsRepository, PreferredUnitOfMeasurementRepository

Constructors

Link copied to clipboard
constructor(storage: Storage, defaultSettingValueProvider: DefaultSettingValueProvider, supportingCapabilities: SupportingCapabilities, defaultSettings: DefaultSettings)

Functions

Link copied to clipboard
open override fun avoidFerries(isEnabled: Boolean)
Link copied to clipboard
open override fun avoidHighways(isEnabled: Boolean)
Link copied to clipboard
open override fun avoidTolls(isEnabled: Boolean)
Link copied to clipboard
Link copied to clipboard
open override fun getPreferredUnitOfMeasurementSettings(): UnitOfMeasurementSettings
Link copied to clipboard
open override fun is3DMapEnabled(): Boolean
Link copied to clipboard
open override fun isAvoidFerries(): Boolean
Link copied to clipboard
open override fun isAvoidHighways(): Boolean
Link copied to clipboard
open override fun isAvoidTolls(): Boolean
Link copied to clipboard
open override fun isLocalTtsVoice(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun isSatelliteModeEnabled(): Boolean
Link copied to clipboard
open override fun isSpeedLimitEnabled(): Boolean
Link copied to clipboard
open override fun isSpeedWarningsEnabled(): Boolean
Link copied to clipboard
open override fun isTerrain3DEnabled(): Boolean
Link copied to clipboard
open override fun observe3DMap(): Flow<Boolean>
Link copied to clipboard
open override fun observeAvailableSearchFilter(): Flow<Boolean>
Link copied to clipboard
open override fun observeAvoidFerriesChanged(): Flow<Boolean>
Link copied to clipboard
open override fun observeAvoidHighwaysChanged(): Flow<Boolean>
Link copied to clipboard
open override fun observeAvoidTollsChanged(): Flow<Boolean>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun observeIsEnableAutoDefineEngineType(): Flow<Boolean>
Link copied to clipboard
open override fun observeMapTrafficIsEnabled(): Flow<Boolean>
Link copied to clipboard
open override fun observeOpenNowSearchFilter(): Flow<Boolean>
Link copied to clipboard
open override fun observePlugChargeSearchFilter(): Flow<Boolean>
Link copied to clipboard
open override fun observePreferredCurrentEngineType(): Flow<EngineType>
Link copied to clipboard
open override fun observePreferredCurrentWeatherType(): Flow<Int>
Link copied to clipboard
open override fun observePreferredUnitOfMeasurementSettings(): Flow<UnitOfMeasurementSettings>
Link copied to clipboard
open override fun observerIsLocalTtsVoice(): Flow<Boolean>
Link copied to clipboard
open override fun observerMuteVoiceInstructions(): Flow<Boolean>
Link copied to clipboard
open override fun observeRouteLineTrafficIsEnabled(): Flow<Boolean>
Link copied to clipboard
open override fun observerSatelliteMode(): Flow<Boolean>
Link copied to clipboard
open override fun observerTerrain3D(): Flow<Boolean>
Link copied to clipboard
open override fun observeSpeedLimitIsEnabled(): Flow<Boolean>
Link copied to clipboard
open override fun observeSpeedWarningsIsEnabled(): Flow<Boolean>
Link copied to clipboard
open override fun set3DMap(isEnabled: Boolean)
Link copied to clipboard
open override fun setAutoDefineEngineType(autoDefine: Boolean)
Link copied to clipboard
open override fun setAvailableSearchFilter(availableFilterEnabled: Boolean)
Link copied to clipboard
open override fun setEnvironmentSettings(environmentSettings: EnvironmentSettings)
Link copied to clipboard
open override fun setIsLocalTtsVoice(local: Boolean)
Link copied to clipboard
open override fun setMapTrafficIsEnabled(isEnabled: Boolean)
Link copied to clipboard
open override fun setMuteVoiceInstructions(mute: Boolean)
Link copied to clipboard
open override fun setOpenNowSearchFilter(openNowFilterEnabled: Boolean)
Link copied to clipboard
open override fun setPlugChargeSearchFilter(plugChargeFilterEnabled: Boolean)
Link copied to clipboard
open override fun setPreferredCurrentEngineType(engineType: EngineType)
Link copied to clipboard
open override fun setPreferredCurrentWeatherType(weatherType: Int)
Link copied to clipboard
open override fun setPreferredSupercruiseSettings(supercruiseSettings: SupercruiseSettings)
Link copied to clipboard
open override fun setPreferredUiModeSettings(uiModeSettings: UiModeSettings)
Link copied to clipboard
open override fun setPreferredUnitOfMeasurementSettings(unitOfMeasurementSettings: UnitOfMeasurementSettings)
Link copied to clipboard
open override fun setRouteLineTrafficIsEnabled(isEnabled: Boolean)
Link copied to clipboard
open override fun setSatelliteMode(isEnabled: Boolean)
Link copied to clipboard
open override fun setSpeedLimitIsEnabled(isEnabled: Boolean)
Link copied to clipboard
open override fun setSpeedWarningsIsEnabled(isEnabled: Boolean)
Link copied to clipboard
open override fun setTerrain3D(isEnabled: Boolean)

Also enables shoves gestures on the map

Link copied to clipboard