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