diff --git a/arkui/window_manager/oh_window_event_filter.h b/arkui/window_manager/oh_window_event_filter.h index 5d8aa0dbf039d0c8bb59bb1d031109753323f28c..473682f705cbd0f166c55c4ee08b20a3f72d6ea5 100644 --- a/arkui/window_manager/oh_window_event_filter.h +++ b/arkui/window_manager/oh_window_event_filter.h @@ -67,7 +67,7 @@ WindowManager_ErrorCode OH_NativeWindowManager_RegisterKeyEventFilter(int32_t wi OH_NativeWindowManager_KeyEventFilter keyEventFilter); /** - * @brief clear callback for the window + * @brief Unregisters a function for filtering multimodal key events * * @param windowId windowId when window is created * @return Returns the status code of the execution. @@ -76,15 +76,14 @@ WindowManager_ErrorCode OH_NativeWindowManager_RegisterKeyEventFilter(int32_t wi WindowManager_ErrorCode OH_NativeWindowManager_UnregisterKeyEventFilter(int32_t windowId); /** - * @brief the callback function type when mouseEvent was filter + * @brief Defines a function for filtering multimodal mouse events * @param mouseEvent multimodal mouseEvent * @since 15 */ typedef bool (*OH_NativeWindowManager_MouseEventFilter)(Input_MouseEvent* mouseEvent); /** - * @brief Registers a filter callback for the window, the callback is called when the - * window is dispatched to the event + * @brief Registers a function for filtering multimodal mouse events * * @param windowId windowId when window is created * @param mouseEventFilter mouse event callback, called when the window is dispatched @@ -99,7 +98,7 @@ WindowManager_ErrorCode OH_NativeWindowManager_RegisterMouseEventFilter(int32_t OH_NativeWindowManager_MouseEventFilter mouseEventFilter); /** - * @brief clear callback for the window + * @brief Unregisters a function for filtering multimodal mouse events * * @param windowId windowId when window is created * @return Returns the status code of the execution. @@ -118,8 +117,7 @@ WindowManager_ErrorCode OH_NativeWindowManager_UnregisterMouseEventFilter(int32_ typedef bool (*OH_NativeWindowManager_TouchEventFilter)(Input_TouchEvent* touchEvent); /** - * @brief Registers a filter callback for the window, the callback is called when the - * window is dispatched to the event + * @brief Registers a function for filtering multimodal touch events * * @param windowId windowId when window is created * @param touchEventFilter touch event callback, called when the window is dispatched @@ -134,7 +132,7 @@ WindowManager_ErrorCode OH_NativeWindowManager_RegisterTouchEventFilter(int32_t OH_NativeWindowManager_TouchEventFilter touchEventFilter); /** - * @brief clear callback for the window + * @brief Unregisters a function for filtering multimodal touch events * * @param windowId windowId when window is created * @return Returns the status code of the execution.