VehicleConnection

class VehicleConnection(context: Context, backgroundDispatcher: CoroutineDispatcher)

Constructors

Link copied to clipboard
constructor(context: Context, backgroundDispatcher: CoroutineDispatcher)

Properties

Link copied to clipboard
val connectionState: MutableStateFlow<Boolean>

Functions

Link copied to clipboard
fun connect()

Set expected state to true

Link copied to clipboard

Set expected state to false