- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_ACCELEROMETER. - |
-
- | -AsyncCallback<AccelerometerResponse> - |
- - | -Callback used to return the acceleration sensor data. The reported data type in the callback is AccelerometerResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_LINEAR_ACCELERATION. - |
-
- | -AsyncCallback<LinearAccelerometerResponse> - |
- - | -Callback used to return the linear acceleration sensor data. The reported data type in the callback is LinearAccelerometerResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED. - |
-
- | -AsyncCallback<AccelerometerUncalibratedResponse> - |
- - | -Callback used to return the uncalibrated acceleration sensor data. The reported data type in the callback is AccelerometerUncalibratedResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_GRAVITY. - |
-
- | -AsyncCallback<GravityResponse> - |
- - | -Callback used to return the gravity sensor data. The reported data type in the callback is GravityResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_GYROSCOPE. - |
-
- | -AsyncCallback<GyroscopeResponse> - |
- - | -Callback used to return the gyroscope sensor data. The reported data type in the callback is GyroscopeResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED. - |
-
- | -AsyncCallback<GyroscopeUncalibratedResponse> - |
- - | -Callback used to return the uncalibrated gyroscope sensor data. The reported data type in the callback is GyroscopeUncalibratedResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_SIGNIFICANT_MOTION. - |
-
- | -AsyncCallback<SignificantMotionResponse> - |
- - | -Callback used to return the significant motion sensor data. The reported data type in the callback is SignificantMotionResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_PEDOMETER_DETECTION. - |
-
- | -AsyncCallback<PedometerDetectResponse> - |
- - | -Callback used to return the pedometer detection sensor data. The reported data type in the callback is PedometerDetectResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_PEDOMETER. - |
-
- | -AsyncCallback<PedometerResponse> - |
- - | -Callback used to return the pedometer sensor data. The reported data type in the callback is PedometerResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_AMBIENT_TEMPERATURE. - |
-
- | -AsyncCallback<AmbientTemperatureResponse> - |
- - | -Callback used to return the ambient temperature sensor data. The reported data type in the callback is AmbientTemperatureResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_MAGNETIC_FIELD. - |
-
- | -AsyncCallback<MagneticFieldResponse> - |
- - | -Callback used to return the magnetic field sensor data. The reported data type in the callback is MagneticFieldResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED. - |
-
- | -AsyncCallback<MagneticFieldUncalibratedResponse> - |
- - | -Callback used to return the uncalibrated magnetic field sensor data. The reported data type in the callback is MagneticFieldUncalibratedResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_PROXIMITY. - |
-
- | -AsyncCallback<ProximityResponse> - |
- - | -Callback used to return the proximity sensor data. The reported data type in the callback is ProximityResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_HUMIDITY. - |
-
- | -AsyncCallback<HumidityResponse> - |
- - | -Callback used to return the humidity sensor data. The reported data type in the callback is HumidityResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_BAROMETER. - |
-
- | -AsyncCallback<BarometerResponse> - |
- - | -Callback used to return the barometer sensor data. The reported data type in the callback is BarometerResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_HALL. - |
-
- | -AsyncCallback<HallResponse> - |
- - | -Callback used to return the Hall effect sensor data. The reported data type in the callback is HallResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_AMBIENT_LIGHT. - |
-
- | -AsyncCallback<LightResponse> - |
- - | -Callback used to return the ambient light sensor data. The reported data type in the callback is LightResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_ORIENTATION. - |
-
- | -AsyncCallback<OrientationResponse> - |
- - | -Callback used to return the orientation sensor data. The reported data type in the callback is OrientationResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_ROTATION_VECTOR. - |
-
- | -AsyncCallback<RotationVectorResponse> - |
- - | -Callback used to return the rotation vector sensor data. The reported data type in the callback is RotationVectorResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_WEAR_DETECTION. - |
-
- | -AsyncCallback<WearDetectionResponse> - |
- - | -Callback used to return the wear detection sensor data. The reported data type in the callback is WearDetectionResponse. - |
-
- | -- | -- | -Interval at which the callback is invoked to return the sensor data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_ACCELEROMETER. - |
-
- | -AsyncCallback<AccelerometerResponse> - |
- - | -One-shot callback used to return the acceleration sensor data. The reported data type in the callback is AccelerometerResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_LINEAR_ACCELERATION. - |
-
- | -AsyncCallback<LinearAccelerometerResponse> - |
- - | -One-shot callback used to return the linear acceleration sensor data. The reported data type in the callback is LinearAccelerometerResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED. - |
-
- | -AsyncCallback<AccelerometerUncalibratedResponse> - |
- - | -One-shot callback used to return the uncalibrated acceleration sensor data. The reported data type in the callback is AccelerometerUncalibratedResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_GRAVITY. - |
-
- | -AsyncCallback<GravityResponse> - |
- - | -One-shot callback used to return the gravity sensor data. The reported data type in the callback is GravityResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_GYROSCOPE. - |
-
- | -AsyncCallback<GyroscopeResponse> - |
- - | -One-shot callback used to return the gyroscope sensor data. The reported data type in the callback is GyroscopeResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED. - |
-
- | -AsyncCallback<GyroscopeUncalibratedResponse> - |
- - | -One-shot callback used to return the uncalibrated gyroscope sensor data. The reported data type in the callback is GyroscopeUncalibratedResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_SIGNIFICANT_MOTION. - |
-
- | -AsyncCallback<SignificantMotionResponse> - |
- - | -One-shot callback used to return the significant motion sensor data. The reported data type in the callback is SignificantMotionResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_PEDOMETER_DETECTION. - |
-
- | -AsyncCallback<PedometerDetectResponse> - |
- - | -One-shot callback used to return the pedometer detection sensor data. The reported data type in the callback is PedometerDetectResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_PEDOMETER. - |
-
- | -AsyncCallback<PedometerResponse> - |
- - | -One-shot callback used to return the pedometer sensor data. The reported data type in the callback is PedometerResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_AMBIENT_TEMPERATURE. - |
-
- | -AsyncCallback<AmbientTemperatureResponse> - |
- - | -One-shot callback used to return the ambient temperature sensor data. The reported data type in the callback is AmbientTemperatureResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_MAGNETIC_FIELD. - |
-
- | -AsyncCallback<MagneticFieldResponse> - |
- - | -One-shot callback used to return the magnetic field sensor data. The reported data type in the callback is MagneticFieldResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED. - |
-
- | -AsyncCallback<MagneticFieldUncalibratedResponse> - |
- - | -One-shot callback used to return the uncalibrated magnetic field sensor data. The reported data type in the callback is MagneticFieldUncalibratedResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_PROXIMITY. - |
-
- | -AsyncCallback<ProximityResponse> - |
- - | -One-shot callback used to return the proximity sensor data. The reported data type in the callback is ProximityResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_HUMIDITY. - |
-
- | -AsyncCallback<HumidityResponse> - |
- - | -One-shot callback used to return the humidity sensor data. The reported data type in the callback is HumidityResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_BAROMETER. - |
-
- | -AsyncCallback<BarometerResponse> - |
- - | -One-shot callback used to return the barometer sensor data. The reported data type in the callback is BarometerResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_HALL. - |
-
- | -AsyncCallback<HallResponse> - |
- - | -One-shot callback used to return the Hall effect sensor data. The reported data type in the callback is HallResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_AMBIENT_LIGHT. - |
-
- | -AsyncCallback<LightResponse> - |
- - | -One-shot callback used to return the ambient light sensor data. The reported data type in the callback is LightResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_ORIENTATION. - |
-
- | -AsyncCallback<OrientationResponse> - |
- - | -One-shot callback used to return the orientation sensor data. The reported data type in the callback is OrientationResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_ROTATION_VECTOR. - |
-
- | -AsyncCallback<RotationVectorResponse> - |
- - | -One-shot callback used to return the rotation vector sensor data. The reported data type in the callback is RotationVectorResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_HEART_RATE. - |
-
- | -AsyncCallback<HeartRateResponse> - |
- - | -One-shot callback used to return the heart rate sensor data. The reported data type in the callback is HeartRateResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -Type of the sensor to subscribe to, which is SENSOR_TYPE_ID_WEAR_DETECTION. - |
-
- | -AsyncCallback<WearDetectionResponse> - |
- - | -One-shot callback used to return the wear detection sensor data. The reported data type in the callback is WearDetectionResponse. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -- | -
- | -- | -- | -- | -
- | -- | -- | -
---|---|---|
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -
- | -- | -- | -- | -- | -
---|---|---|---|---|
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
---|---|---|---|---|
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
---|---|---|---|---|
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
---|---|---|---|---|
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
---|---|---|---|---|
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
---|---|---|---|---|
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
---|---|---|---|---|
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
---|---|---|---|---|
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
---|---|---|---|---|
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
---|---|---|---|---|
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
---|---|---|---|---|
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
---|---|---|---|---|
- | -- | -- | -- | -Number of steps. The number starts from 0 each time the device restarts. - |
-
- | -- | -- | -- | -- | -
---|---|---|---|---|
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
---|---|---|---|---|
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
---|---|---|---|---|
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
---|---|---|---|---|
- | -- | -- | -- | -- | -
- | -- | -- | -- | -- | -
---|---|---|---|---|
- | -- | -- | -- | -Whether the device is being worn. The value true means that the device is being worn, and false means the opposite. - |
-
- | -- | -- | -
---|---|---|
- | -- | -Frequency at which a sensor reports data. The default value is 200,000,000 ns. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -- | -
- | -- | -
---|---|
- | -Promise used to indicate whether the vibration is triggered successfully. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -- | -
- | -- | -- | -Callback used to indicate whether the vibration is triggered successfully. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -- | -
- | -- | -
---|---|
- | -Promise used to indicate whether the vibration is triggered successfully. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -- | -
- | -- | -- | -Callback used to indicate whether the vibration is triggered successfully. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -- | -
- | -- | -
---|---|
- | -Promise used to indicate whether the vibration is stopped successfully. - |
-
- | -- | -- | -- | -
---|---|---|---|
- | -- | -- | -- | -
- | -- | -- | -Callback used to indicate whether the vibration is stopped successfully. - |
-
- | -- | -- | -
---|---|---|
- | -- | -Vibration effect of the vibrator when a user adjusts the timer. - |
-