toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-settings-ui
/
com.mapbox.dash.settings.presentation.viewmodel
/
SpeedSettingsViewModel
Speed
Settings
View
Model
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
class
SpeedSettingsViewModel
(
settingsRepository
:
SettingsRepository
,
observeDebugSpeedLimitSignUseCase
:
ObserveDebugSpeedLimitSignUseCase
)
:
ViewModel
Members
Constructors
Speed
Settings
View
Model
Link copied to clipboard
constructor
(
settingsRepository
:
SettingsRepository
,
observeDebugSpeedLimitSignUseCase
:
ObserveDebugSpeedLimitSignUseCase
)
Properties
debug
Speed
Limit
Sign
Link copied to clipboard
val
debugSpeedLimitSign
:
StateFlow
<
DebugSpeedLimitSign
>
speed
Limit
Enabled
Link copied to clipboard
val
speedLimitEnabled
:
MutableStateFlow
<
Boolean
>
speed
Warnings
Enabled
Link copied to clipboard
val
speedWarningsEnabled
:
MutableStateFlow
<
Boolean
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
@
NonNull
p0
:
Closeable
)