CarHardwareManager

@RequiresCarApi(value = 3)
@MainThread
public interface CarHardwareManager extends Manager

Known direct subclasses
AutomotiveCarHardwareManager

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


Manages access to car hardware specific properties and sensors.

Summary

Public methods

default @NonNull CarClimate

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

default @NonNull CarInfo

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

default @NonNull CarSensors

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

Public methods

getCarClimate

Added in 1.3.0
@ExperimentalCarApi
default @NonNull CarClimate getCarClimate()

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

getCarInfo

Added in 1.1.0
default @NonNull CarInfo getCarInfo()

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

getCarSensors

Added in 1.1.0
default @NonNull CarSensors getCarSensors()

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