toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-signals-gm
/
com.mapbox.nav.gm.signals.data.datasource
/
VehicleConnection
Vehicle
Connection
class
VehicleConnection
(
context
:
Context
,
backgroundDispatcher
:
CoroutineDispatcher
)
Members
Constructors
Vehicle
Connection
Link copied to clipboard
constructor
(
context
:
Context
,
backgroundDispatcher
:
CoroutineDispatcher
)
Properties
connection
State
Link copied to clipboard
val
connectionState
:
MutableStateFlow
<
Boolean
>
Functions
connect
Link copied to clipboard
fun
connect
(
)
Set expected state to
true
disconnect
Link copied to clipboard
fun
disconnect
(
)
Set expected state to
false