From 30187223c609bc1d9d3674dfce558f89866392b3 Mon Sep 17 00:00:00 2001 From: cff-gite Date: Wed, 7 Sep 2022 18:01:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0sensor=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cff-gite --- .../application-dev/reference/apis/js-apis-sensor.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-sensor.md b/zh-cn/application-dev/reference/apis/js-apis-sensor.md index 309f9fa09e..09a0015803 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-sensor.md +++ b/zh-cn/application-dev/reference/apis/js-apis-sensor.md @@ -1880,11 +1880,11 @@ getGeomagneticField(locationOptions: LocationOptions, timeMillis: number, callba **系统能力**:SystemCapability.Sensors.Sensor **参数:** -| 说明 | 参数名 | 类型 | 必填 | -| ---------------------------------- | --------------- | ------------------------------------------------------------ | ---- | -| 地理位置。 | locationOptions | [LocationOptions](#locationoptions) | 是 | -| 表示获取磁偏角的时间,单位为毫秒。 | timeMillis | number | 是 | -| 返回磁场信息。 | callback | AsyncCallback<[GeomagneticResponse](#geomagneticresponse)> | 是 | +| 参数名 | 类型 | 必填 | 说明 | +| --------------- | ------------------------------------------------------------ | ---- | ---------------------------------- | +| locationOptions | [LocationOptions](#locationoptions) | 是 | 地理位置。 | +| timeMillis | number | 是 | 表示获取磁偏角的时间,单位为毫秒。 | +| callback | AsyncCallback<[GeomagneticResponse](#geomagneticresponse)> | 是 | 返回磁场信息。 | **示例:** ```js @@ -2564,8 +2564,6 @@ sensor.getSingleSensor(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, function( | precision | number | 是 | 是 | 传感器精度。 | | power | number | 是 | 是 | 传感器电源。 | - - ## AccelerometerResponse 加速度传感器数据,继承于[Response](#response)。 -- GitLab