diff --git a/en/application-dev/device/sensor-overview.md b/en/application-dev/device/sensor-overview.md index 9951378ea182f7e7bf5635cd7a7bf963a03a6205..3f891e75ceea0d9c426b3739d3b085d5fde806a9 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 d70e30aca2f50e5f3ef07a1fbfdff3563c513c79..0915792d90590cac0719e4f4933e0b1fc4b5ab12 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 889f6b823cc0bbff99cd9bc9cbb2dde641766420..191d74b591e6fe296cf80c7874cc0a60b50dad7f 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.