Added in API level 29
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

Added in API level 29
Deprecated in API level 29
public float temperature

If unsupported by the car, this value is NaN.

timestamp

Added in API level 29
Deprecated in API level 29
public long timestamp