AutomotiveCarHardwareManager
@ExperimentalCarApi
@CarProtocol
public final class AutomotiveCarHardwareManager implements CarHardwareManager
CarHardwareManager which uses Android Automotive OS APIs to access properties, sensors, and actions.
Summary
Public constructors |
|---|
AutomotiveCarHardwareManager(@NonNull Context context) |
Public methods |
|
|---|---|
@NonNull CarClimate |
Returns the |
@NonNull CarInfo |
Returns the |
@NonNull CarSensors |
Returns the |
Public constructors
AutomotiveCarHardwareManager
public AutomotiveCarHardwareManager(@NonNull Context context)
Public methods
getCarClimate
public @NonNull CarClimate getCarClimate()
Returns the CarClimate that can be used to query climate information from the car hardware.
getCarInfo
public @NonNull CarInfo getCarInfo()
Returns the CarInfo that can be used to query the car hardware information such as make, model, etc.
getCarSensors
public @NonNull CarSensors getCarSensors()
Returns the CarSensors that can be used to access sensor information from the car hardware.