From f1f5e6282a57d01046a36b9853636930f499305e Mon Sep 17 00:00:00 2001 From: shenpeixing Date: Tue, 29 Jul 2025 15:14:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9taihe=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=B1=BB=E5=9E=8B=E4=B8=8Esdk=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: shenpeixing --- frameworks/ets/taihe/idl/ohos.vibrator.taihe | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/frameworks/ets/taihe/idl/ohos.vibrator.taihe b/frameworks/ets/taihe/idl/ohos.vibrator.taihe index bf4e15c..ebc9189 100644 --- a/frameworks/ets/taihe/idl/ohos.vibrator.taihe +++ b/frameworks/ets/taihe/idl/ohos.vibrator.taihe @@ -53,20 +53,20 @@ struct VibratePreset { /** * The number of vibration repetitions. * - * @type { Optional } + * @type { Optional } * @syscap SystemCapability.Sensors.MiscDevice * @since 12 */ - count: Optional; + count: Optional; /** * The intensity of vibration effect. * - * @type { Optional } + * @type { Optional } * @syscap SystemCapability.Sensors.MiscDevice * @since 12 */ - intensity: Optional; + intensity: Optional; } /** @@ -110,12 +110,12 @@ struct VibrateTime { /** * The duration of the vibration, in ms. * - * @type { f64 } + * @type { i32 } * @syscap SystemCapability.Sensors.MiscDevice * @atomicservice * @since 11 */ - duration: f64; /** The duration of the vibration, in ms */ + duration: i32; /** The duration of the vibration, in ms */ } /** @@ -165,12 +165,12 @@ struct VibrateAttribute { /** * Vibrator id, default is 0. * - * @type { Optional } + * @type { Optional } * @syscap SystemCapability.Sensors.MiscDevice * @atomicservice * @since 11 */ - id: Optional; + id: Optional; /** * The use of vibration. -- Gitee