未验证 提交 91f37c7d 编写于 作者: O openharmony_ci 提交者: Gitee

!11569 修改docs文档

Merge pull request !11569 from 陈飞飞/master
...@@ -225,8 +225,8 @@ try { ...@@ -225,8 +225,8 @@ try {
**系统能力**:以下各项对应的系统能力均为SystemCapability.Sensors.MiscDevice **系统能力**:以下各项对应的系统能力均为SystemCapability.Sensors.MiscDevice
| 名称 | 默认值 | 说明 | | 名称 | 值 | 说明 |
| ------------------ | -------------------- | ------------------ | | ------------------ | -------------------- | -------------------------------- |
| EFFECT_CLOCK_TIMER | "haptic.clock.timer" | 描述用户调整计时器时的振动效果。 | | EFFECT_CLOCK_TIMER | "haptic.clock.timer" | 描述用户调整计时器时的振动效果。 |
...@@ -236,8 +236,8 @@ try { ...@@ -236,8 +236,8 @@ try {
**系统能力**:以下各项对应的系统能力均为SystemCapability.Sensors.MiscDevice **系统能力**:以下各项对应的系统能力均为SystemCapability.Sensors.MiscDevice
| 名称 | 默认值 | 说明 | | 名称 | 值 | 说明 |
| ------------------------- | -------- | ------------------------------------------------------------ | | ------------------------- | -------- | ------------------------------ |
| VIBRATOR_STOP_MODE_TIME | "time" | 停止模式为duration模式的振动。 | | VIBRATOR_STOP_MODE_TIME | "time" | 停止模式为duration模式的振动。 |
| VIBRATOR_STOP_MODE_PRESET | "preset" | 停止模式为预置EffectId的振动。 | | VIBRATOR_STOP_MODE_PRESET | "preset" | 停止模式为预置EffectId的振动。 |
...@@ -258,7 +258,7 @@ try { ...@@ -258,7 +258,7 @@ try {
**系统能力**:以下各项对应的系统能力均为SystemCapability.Sensors.MiscDevice **系统能力**:以下各项对应的系统能力均为SystemCapability.Sensors.MiscDevice
| 名称 | 默认值 | 说明 | | 名称 | 值 | 说明 |
| -------- | ------ | ------------------------------ | | -------- | ------ | ------------------------------ |
| type | "time" | 按照指定持续时间触发马达振动。 | | type | "time" | 按照指定持续时间触发马达振动。 |
| duration | - | 马达持续振动时长, 单位ms。 | | duration | - | 马达持续振动时长, 单位ms。 |
...@@ -269,7 +269,7 @@ try { ...@@ -269,7 +269,7 @@ try {
**系统能力**:以下各项对应的系统能力均为SystemCapability.Sensors.MiscDevice **系统能力**:以下各项对应的系统能力均为SystemCapability.Sensors.MiscDevice
| 名称 | 默认值 | 说明 | | 名称 | | 说明 |
| -------- | -------- | ------------------------------ | | -------- | -------- | ------------------------------ |
| type | "preset" | 按照预置振动效果触发马达振动。 | | type | "preset" | 按照预置振动效果触发马达振动。 |
| effectId | - | 预置的振动效果ID。 | | effectId | - | 预置的振动效果ID。 |
...@@ -281,7 +281,7 @@ try { ...@@ -281,7 +281,7 @@ try {
**系统能力**:以下各项对应的系统能力均为SystemCapability.Sensors.MiscDevice **系统能力**:以下各项对应的系统能力均为SystemCapability.Sensors.MiscDevice
| 名称 | 默认值 | 说明 | | 名称 | 值 | 说明 |
| ----- | ------ | -------------- | | ----- | ------ | -------------- |
| id | 0 | 振动器id。 | | id | 0 | 振动器id。 |
| usage | - | 马达振动的使用场景。 | | usage | - | 马达振动的使用场景。 |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册