The callbacks defined in the package can be called by the application layer to process the sensor data.
| 接口 | 说明 |
|---|---|
| ICategoryBodyDataCallback |
Inherits from
ISensorDataCallback and receives data of body sensors. |
| ICategoryEnvironmentDataCallback |
Inherits from
ISensorDataCallback and receives data of environment sensors. |
| ICategoryLightDataCallback |
Inherits from
ISensorDataCallback and receives data of light sensors. |
| ICategoryMotionDataCallback |
Inherits from
ISensorDataCallback and receives data of motion sensors. |
| ICategoryOrientationDataCallback |
Inherits from
ISensorDataCallback and receives data of orientation sensors. |
| ICategoryOtherDataCallback |
Inherits from
ISensorDataCallback and receives data of sensors in the other category. |
| ISensorDataCallback<D extends SensorData<S>,S extends SensorBase> |
A parent interface to receive sensor data.
|