VehicleProvider

interface VehicleProvider

Responsible for control and access to the vehicle state.

Important: This is a Public Preview API. It may be changed or removed at any time.

Inheritors

Properties

Link copied to clipboard
abstract val vehicleSnapshot: Vehicle

Snapshot of the current vehicle state.

Functions

Link copied to clipboard
abstract fun addVehicleUpdatedListener(vehicleUpdatedListener: VehicleUpdatedListener)

Adds an VehicleUpdatedListener which will be notified about any vehicle update.

abstract fun addVehicleUpdatedListener(vehicleUpdatedListener: VehicleUpdatedListener, vehicleUpdateOptions: List<VehicleUpdateOption>)

Adds an VehicleUpdatedListener which will be notified when specific vehicle properties are updated.

Link copied to clipboard
abstract fun removeVehicleUpdatedListener(vehicleUpdatedListener: VehicleUpdatedListener)

Removes the vehicle update listener.