From 1f84720b05ae7967f0c03f75f85ede1468149eaa Mon Sep 17 00:00:00 2001 From: lixiangpeng5 Date: Thu, 26 Jun 2025 11:09:46 +0800 Subject: [PATCH] sensorInfoParam add atomicservice labels Signed-off-by: lixiangpeng5 --- api/@ohos.sensor.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/@ohos.sensor.d.ts b/api/@ohos.sensor.d.ts index e72a935f0f..7bd2714df1 100644 --- a/api/@ohos.sensor.d.ts +++ b/api/@ohos.sensor.d.ts @@ -3306,6 +3306,7 @@ declare namespace sensor { * Parameters of sensor on the device. * @type { ?SensorInfoParam } * @syscap SystemCapability.Sensors.Sensor + * @atomicservice * @since 19 */ sensorInfoParam?: SensorInfoParam; @@ -4400,6 +4401,7 @@ declare namespace sensor { * Parameters of sensor on the device. * @typedef SensorInfoParam * @syscap SystemCapability.Sensors.Sensor + * @atomicservice * @since 19 */ interface SensorInfoParam { @@ -4409,6 +4411,7 @@ declare namespace sensor { * * @type { ?number } * @syscap SystemCapability.Sensors.Sensor + * @atomicservice * @since 19 */ deviceId?: number; @@ -4417,6 +4420,7 @@ declare namespace sensor { * Index of sensors of the same type. By default, it controls default sensors of the sensor type. * @type { ?number } * @syscap SystemCapability.Sensors.Sensor + * @atomicservice * @since 19 */ sensorIndex?: number; -- Gitee