Deprecated in API level 29

CarSensorEvent.EnvironmentData

public static class CarSensorEvent.EnvironmentData
extends Object

java.lang.Object
   ↳ android.car.hardware.CarSensorEvent.EnvironmentData


Environment data with timestamp and temperature.

Summary

Fields

public float temperature

If unsupported by the car, this value is NaN.

public long timestamp

Inherited methods

Fields

temperature

public float temperature

If unsupported by the car, this value is NaN.

timestamp

public long timestamp