harmony 鸿蒙Vibrator Error Codes

  • 2025-06-12
  • 浏览 (6)

Vibrator Error Codes

NOTE

This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.

14600101 Device operation failed.

Error Message

Device operation failed.

Description

This error code is reported if the HDI service is abnormal or the device is occupied when the startVibration interface of the vibrator module is called.

Possible Causes 1. The HDI service is abnormal. 2. The device is occupied.

Solution 1. Retry the operation at a specified interval or at an exponential increase interval. If the operation fails for three consecutive times, stop the retry. You can also obtain the vibrator list to check for device availability. 2. Set a higher priority for the vibrator.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Sensor Service Kit

harmony 鸿蒙Sensor

harmony 鸿蒙Vibrator

harmony 鸿蒙Vibrator_Attribute

harmony 鸿蒙Vibrator_FileDescription

harmony 鸿蒙Sensor Error Codes

harmony 鸿蒙@ohos.sensor (Sensor) (System API)

harmony 鸿蒙js-apis-sensor

harmony 鸿蒙@system.sensor (Sensor)

harmony 鸿蒙@system.vibrator (Vibrator)

0  赞