toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-settings-ui
/
com.mapbox.dash.settings.presentation.viewmodel
/
PreferredNetworksViewModel
Preferred
Networks
View
Model
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
class
PreferredNetworksViewModel
(
chargingNetworkRepository
:
ChargingNetworkRepository
)
:
ViewModel
Members
Constructors
Preferred
Networks
View
Model
Link copied to clipboard
constructor
(
chargingNetworkRepository
:
ChargingNetworkRepository
)
Properties
charging
Networks
Link copied to clipboard
val
chargingNetworks
:
StateFlow
<
List
<
ChargingNetwork
>
>
preferred
Charging
Networks
Link copied to clipboard
val
preferredChargingNetworks
:
StateFlow
<
Set
<
String
>
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
@
NonNull
p0
:
Closeable
)
clear
Network
Selection
Link copied to clipboard
fun
clearNetworkSelection
(
)
on
Network
Selection
Changed
Link copied to clipboard
fun
onNetworkSelectionChanged
(
networkId
:
String
)