Input_InterceptorOptions
typedef struct Input_InterceptorOptions Input_InterceptorOptions
Overview
Defines event interception options.
Since: 12
Related module: input
Header file: oh_input_manager.h
Related APIs:
| Name | Description |
|---|---|
| OH_Input_AddKeyEventInterceptor | Adds an interceptor for key events. If multiple interceptors are added, only the first one takes effect. Key events are intercepted only when the application gains focus. |
| OH_Input_RemoveKeyEventInterceptor | Removes the interceptor for key events. |
| OH_Input_AddInputEventInterceptor | Adds an interceptor for input events, including mouse, touch, and axis events. If multiple interceptors are added, only the first one takes effect. Key events are intercepted only when the application window is hit. |
| OH_Input_RemoveInputEventInterceptor | Removes the interceptor for input events, including mouse, touch, and axis events. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-input-input-cursorinfo
openharmony 鸿蒙 js-apis-inputevent
openharmony 鸿蒙 js-apis-infraredemitter
openharmony 鸿蒙 js-apis-inputeventclient-sys
openharmony 鸿蒙 capi-input-input-keystate
openharmony 鸿蒙 js-apis-keycode
openharmony 鸿蒙 capi-input-input-axisevent
openharmony 鸿蒙 js-apis-pointer-sys