Google 致力于为黑人社区推动种族平等。查看具体举措
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