AutomotiveCarHardwareManager

@ExperimentalCarApi
class AutomotiveCarHardwareManager : CarHardwareManager


CarHardwareManager which uses Android Automotive OS APIs to access properties, sensors, and actions.

Summary

Public constructors

Public functions

CarClimate

Returns the CarClimate that can be used to query climate information from the car hardware.

CarInfo

Returns the CarInfo that can be used to query the car hardware information such as make, model, etc.

CarSensors

Returns the CarSensors that can be used to access sensor information from the car hardware.

Public constructors

AutomotiveCarHardwareManager

Added in 1.1.0
AutomotiveCarHardwareManager(context: Context)

Public functions

getCarClimate

Added in 1.4.0-rc02
fun getCarClimate(): CarClimate

Returns the CarClimate that can be used to query climate information from the car hardware.

getCarInfo

Added in 1.4.0-rc02
fun getCarInfo(): CarInfo

Returns the CarInfo that can be used to query the car hardware information such as make, model, etc.

getCarSensors

Added in 1.4.0-rc02
fun getCarSensors(): CarSensors

Returns the CarSensors that can be used to access sensor information from the car hardware.