未验证 提交 a6912f7d 编写于 作者: N ningning 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-vibrator.md.

Signed-off-by: Nningning <wangningning14@huawei.com>
上级 8f94dc64
...@@ -335,7 +335,7 @@ try { ...@@ -335,7 +335,7 @@ try {
isSupportEffect(effectId: string, callback: AsyncCallback&lt;boolean&gt;): void isSupportEffect(effectId: string, callback: AsyncCallback&lt;boolean&gt;): void
查询是否支持传入参数effectId。 查询是否支持传入参数effectId。使用callback异步回调。
**系统能力**:SystemCapability.Sensors.MiscDevice **系统能力**:SystemCapability.Sensors.MiscDevice
...@@ -388,7 +388,7 @@ try { ...@@ -388,7 +388,7 @@ try {
isSupportEffect(effectId: string): Promise&lt;boolean&gt; isSupportEffect(effectId: string): Promise&lt;boolean&gt;
查询是否支持传入参数effectId。 查询是否支持传入参数effectId。使用promise异步回调。
**系统能力**:SystemCapability.Sensors.MiscDevice **系统能力**:SystemCapability.Sensors.MiscDevice
...@@ -446,7 +446,7 @@ try { ...@@ -446,7 +446,7 @@ try {
| 名称 | 值 | 说明 | | 名称 | 值 | 说明 |
| ------------------ | -------------------- | -------------------------------- | | ------------------ | -------------------- | -------------------------------- |
| EFFECT_CLOCK_TIMER | "haptic.clock.timer" | 描述用户调整计时器时的振动效果。////这句话是什么意思 | | EFFECT_CLOCK_TIMER | "haptic.clock.timer" | 描述用户调整计时器时的振动效果。|
## VibratorStopMode ## VibratorStopMode
...@@ -457,7 +457,7 @@ try { ...@@ -457,7 +457,7 @@ try {
| 名称 | 值 | 说明 | | 名称 | 值 | 说明 |
| ------------------------- | -------- | ------------------------------ | | ------------------------- | -------- | ------------------------------ |
| VIBRATOR_STOP_MODE_TIME | "time" | 停止duration模式的振动。//// duration模式的振动是专有名词吗?? | | VIBRATOR_STOP_MODE_TIME | "time" | 停止duration模式的振动。 |
| VIBRATOR_STOP_MODE_PRESET | "preset" | 停止预置EffectId的振动。| | VIBRATOR_STOP_MODE_PRESET | "preset" | 停止预置EffectId的振动。|
## VibrateEffect<sup>9+</sup> ## VibrateEffect<sup>9+</sup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册