public class CategoryLightData extends SensorData<CategoryLight>
SensorData and describes data information of light sensors.
The data information includes the timestamps, accuracy, data values, and data dimensions of
sensors. This class also provides the method for constructing a CategoryLightData
instance.
SensorData,
CategoryLightSystemCapability.Sensors#SENSORaccuracy, DEFAULT_SENSOR_DATA_DIMS, sensor, sensorDataDim, timestamp, values| 构造器 | 说明 |
|---|---|
CategoryLightData(CategoryLight sensor,
int accuracy,
long timestamp,
int sensorDataDim,
float[] values) |
A constructor used to create a
CategoryLightData instance. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAccuracy, getSensor, getSensorDataDim, getTimestamp, getValuespublic CategoryLightData(CategoryLight sensor, int accuracy, long timestamp, int sensorDataDim, float[] values)
CategoryLightData instance.sensor - Indicates a sensor.accuracy - Indicates the sensor accuracy.timestamp - Indicates the sensor timestamp.sensorDataDim - Indicates the data dimension of the sensor.values - Indicates the data values of the sensor.