harmony 鸿蒙Input Key Monitor Error Codes

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

Input Key Monitor Error Codes

NOTE

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

4100001 Event Listening Not Supported for the Key

Error Message

Event listening not supported for the key.

Symptom

This error code is reported if event listening is not supported for this key.

Possible Cause

The current API does not support the key for which event listening is to be enabled.

Solution

Check whether event listening is supported for the input key. Currently, event listening is supported only for the META_LEFT, META_RIGHT, power, and volume keys.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Input Kit

harmony 鸿蒙Input_DeviceListener

harmony 鸿蒙Input_InterceptorEventCallback

harmony 鸿蒙Input_AxisEvent

harmony 鸿蒙Input_DeviceInfo

harmony 鸿蒙Input_DeviceListener

harmony 鸿蒙Input_Hotkey

harmony 鸿蒙Input_InterceptorEventCallback

harmony 鸿蒙Input_InterceptorOptions

harmony 鸿蒙Input_KeyEvent

0  赞