mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 15:20:17 +00:00
整改api扫描问题
Signed-off-by: li-yaoyao777 <liyaoyao7@huawei.com>
This commit is contained in:
parent
445a2a8bdf
commit
9c24132bdc
6
api/@ohos.sensor.d.ts
vendored
6
api/@ohos.sensor.d.ts
vendored
@ -1525,8 +1525,8 @@ declare namespace sensor {
|
||||
hardwareVersion:string; /**< Sensor hardware version */
|
||||
sensorId:number; /**< Sensor type ID, {@code SensorType} */
|
||||
maxRange:number; /**< Maximum measurement range of the sensor */
|
||||
minSamplePeriod; /**< Minimum sample period allowed, in ns */
|
||||
maxSamplePeriod; /**< maximum sample period allowed, in ns */
|
||||
minSamplePeriod:number; /**< Minimum sample period allowed, in ns */
|
||||
maxSamplePeriod:number; /**< maximum sample period allowed, in ns */
|
||||
precision:number; /**< Sensor accuracy */
|
||||
power:number; /**< Sensor power */
|
||||
}
|
||||
@ -1874,7 +1874,7 @@ declare namespace sensor {
|
||||
* @syscap SystemCapability.Sensors.Sensor
|
||||
* @since 8
|
||||
* @deprecated since 9
|
||||
* @useinstead sensor#event:SensorId
|
||||
* @useinstead sensor.SensorId
|
||||
*/
|
||||
enum SensorType {
|
||||
SENSOR_TYPE_ID_ACCELEROMETER = 1, /**< Acceleration sensor */
|
||||
|
Loading…
Reference in New Issue
Block a user