toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-settings-ui
/
com.mapbox.dash.settings.presentation.viewmodel
/
TrafficViewModel
Traffic
View
Model
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
class
TrafficViewModel
(
settingsRepository
:
SettingsRepository
)
:
ViewModel
Members
Constructors
Traffic
View
Model
Link copied to clipboard
constructor
(
settingsRepository
:
SettingsRepository
)
Properties
map
Traffic
Lights
Visibility
Type
Link copied to clipboard
val
mapTrafficLightsVisibilityType
:
MutableStateFlow
<
MapTrafficLightsVisibilityType
>
map
Traffic
Visibility
Type
Link copied to clipboard
val
mapTrafficVisibilityType
:
MutableStateFlow
<
MapTrafficVisibilityType
>
route
Line
Traffic
Enabled
Link copied to clipboard
val
routeLineTrafficEnabled
:
MutableStateFlow
<
Boolean
>
traffic
Aggressiveness
Type
Link copied to clipboard
val
trafficAggressivenessType
:
MutableStateFlow
<
TrafficAggressivenessType
>
traffic
Override
Settings
Link copied to clipboard
val
trafficOverrideSettings
:
MutableStateFlow
<
TrafficOverrideSettings
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
@
NonNull
p0
:
Closeable
)