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

Object clone()
boolean equals(Object arg0)
void finalize()
final Class<?> getClass()
int hashCode()
final void notify()
final void notifyAll()
String toString()
final void wait(long arg0, int arg1)
final void wait(long arg0)
final void wait()

Fields

temperature

public float temperature

If unsupported by the car, this value is NaN.

timestamp

public long timestamp