public class CategoryOtherData extends SensorData<CategoryOther>
SensorData and describes data information of sensors in the other
category (a category other than motion, environment, orientation, and light).
The data information includes the timestamps, accuracy, data values, and data dimensions of
sensors. This class also provides the method for constructing a CategoryOtherData
instance.
SensorData,
CategoryOtherSystemCapability.Sensors#SENSORaccuracy, DEFAULT_SENSOR_DATA_DIMS, sensor, sensorDataDim, timestamp, values| 构造器 | 说明 |
|---|---|
CategoryOtherData(CategoryOther sensor,
int accuracy,
long timestamp,
int sensorDataDim,
float[] values) |
A constructor used to create a
CategoryOtherData instance. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAccuracy, getSensor, getSensorDataDim, getTimestamp, getValuespublic CategoryOtherData(CategoryOther sensor, int accuracy, long timestamp, int sensorDataDim, float[] values)
CategoryOtherData 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.