From b49caf363979f0eca1fd07600cb1a8e535488f02 Mon Sep 17 00:00:00 2001 From: wusongqing Date: Thu, 12 May 2022 17:14:07 +0800 Subject: [PATCH] updated docs Signed-off-by: wusongqing --- en/application-dev/device/sensor-overview.md | 2 +- en/application-dev/device/vibrator-guidelines.md | 2 +- en/application-dev/device/vibrator-overview.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/en/application-dev/device/sensor-overview.md b/en/application-dev/device/sensor-overview.md index 9951378ea1..3f891e75ce 100644 --- a/en/application-dev/device/sensor-overview.md +++ b/en/application-dev/device/sensor-overview.md @@ -37,7 +37,7 @@ The following modules work cooperatively to implement OpenHarmony sensors: Senso **Figure 1** How the sensor works -![fad1a124-a90e-460f-84fc-e87d6caebb21](figures/fad1a124-a90e-460f-84fc-e87d6caebb21.png) +![en-us_image_0000001226521897.png](figures/en-us_image_0000001226521897.png) - Sensor API: provides APIs for performing basic operations on sensors, including querying the sensor list, subscribing to or unsubscribing from sensor data, and executing control commands. This module makes application development simpler. diff --git a/en/application-dev/device/vibrator-guidelines.md b/en/application-dev/device/vibrator-guidelines.md index d70e30aca2..0915792d90 100644 --- a/en/application-dev/device/vibrator-guidelines.md +++ b/en/application-dev/device/vibrator-guidelines.md @@ -77,7 +77,7 @@ You can set different vibration effects as needed, for example, customizing the vibrator.stop(vibrator.VibratorStopMode.VIBRATOR_STOP_MODE_PRESET).then((error)=>{ if(error){ // The call fails, and error.code and error.message are printed. console.log("Promise return failed.error.code"+error.code+"error.message"+error.message); - }else{ // The call is successful, and the device stops vibration. + }else{ // The call is successful, and the device stops vibrating. Console.log("Promise returned to indicate a successful stop."); }; }) diff --git a/en/application-dev/device/vibrator-overview.md b/en/application-dev/device/vibrator-overview.md index 889f6b823c..191d74b591 100644 --- a/en/application-dev/device/vibrator-overview.md +++ b/en/application-dev/device/vibrator-overview.md @@ -10,7 +10,7 @@ The vibrator is a Misc device that consists of four modules: Vibrator API, Vibra **Figure 1** Vibrator in Misc devices -![0752d302-aeb9-481a-bb8f-e5524eb61eeb](figures/0752d302-aeb9-481a-bb8f-e5524eb61eeb.png) +![en-us_image_0000001180249428.png](figures/en-us_image_0000001180249428.png) - Vibrator API: provides basic vibrator APIs, including the APIs for obtaining the vibrator list, querying the vibrator by effect, and triggering and stopping vibration. -- GitLab