harmony 鸿蒙Global Shortcut Key Error Codes
Global Shortcut Key Error Codes
NOTE
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
4200002 Shortcut Key Already Registered by a System Application
Error Message
The hotkey has been used by the system.
Description
This error code is reported if the shortcut key has been registered by a system application.
Possible Cause
- The shortcut key has been registered by a system application.
Solution
- You can call getAllSystemHotkeys to query all system shortcut keys.
4200003 Shortcut Key Already Registered by a Third-party Application
Error Message
The hotkey has been subscribed to by another.
Description
This error code is generated when the shortcut key is registered by a third-party application.
Possible Cause
- The shortcut key has been registered by a third-party application.
Solution
- In the cmd window, run hidumper -s 3101 -a -s to query all registered shortcut keys and use any available shortcut keys.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Input_DeviceListener
harmony 鸿蒙Input_InterceptorEventCallback
harmony 鸿蒙Input_DeviceListener
harmony 鸿蒙Input_InterceptorEventCallback
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦