diff --git a/multimodalinput/kits/c/input/oh_input_manager.h b/multimodalinput/kits/c/input/oh_input_manager.h index 3934be3b9a6cb19b0627d706c5bd9dc89ee03dfb..21f102d068201dcd9718684fbf9c7959ea2f142a 100644 --- a/multimodalinput/kits/c/input/oh_input_manager.h +++ b/multimodalinput/kits/c/input/oh_input_manager.h @@ -369,7 +369,6 @@ typedef struct Input_InterceptorOptions Input_InterceptorOptions; * @return OH_Input_GetKeyState function result code. * {@link INPUT_SUCCESS} get KeyState success.\n * {@link INPUT_PARAMETER_ERROR} keyCode is invalid.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_GetKeyState(struct Input_KeyState* keyState); @@ -379,7 +378,6 @@ Input_Result OH_Input_GetKeyState(struct Input_KeyState* keyState); * * @return Returns an {@Input_KeyState} pointer object if the operation is successful. * Otherwise, a null pointer is returned. The possible cause is memory allocation failure. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ struct Input_KeyState* OH_Input_CreateKeyState(); @@ -388,7 +386,6 @@ struct Input_KeyState* OH_Input_CreateKeyState(); * @brief Destroys a key status enumeration object. * * @param keyState Key status enumeration object. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_DestroyKeyState(struct Input_KeyState** keyState); @@ -398,7 +395,6 @@ void OH_Input_DestroyKeyState(struct Input_KeyState** keyState); * * @param keyState Key status enumeration object. * @param keyCode Key value of the key status enumeration object. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_SetKeyCode(struct Input_KeyState* keyState, int32_t keyCode); @@ -408,7 +404,6 @@ void OH_Input_SetKeyCode(struct Input_KeyState* keyState, int32_t keyCode); * * @param keyState Key status enumeration object. * @return Key value of the key status enumeration object. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int32_t OH_Input_GetKeyCode(const struct Input_KeyState* keyState); @@ -418,7 +413,6 @@ int32_t OH_Input_GetKeyCode(const struct Input_KeyState* keyState); * * @param keyState Key status enumeration object. * @param keyAction Whether the key is pressed. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_SetKeyPressed(struct Input_KeyState* keyState, int32_t keyAction); @@ -428,7 +422,6 @@ void OH_Input_SetKeyPressed(struct Input_KeyState* keyState, int32_t keyAction); * * @param keyState Key status enumeration object. * @return Key pressing status of the key status enumeration object. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int32_t OH_Input_GetKeyPressed(const struct Input_KeyState* keyState); @@ -438,7 +431,6 @@ int32_t OH_Input_GetKeyPressed(const struct Input_KeyState* keyState); * * @param keyState Key status enumeration object. * @param keySwitch Key switch of the key status enumeration object. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_SetKeySwitch(struct Input_KeyState* keyState, int32_t keySwitch); @@ -448,7 +440,6 @@ void OH_Input_SetKeySwitch(struct Input_KeyState* keyState, int32_t keySwitch); * * @param keyState Key status enumeration object. * @return Key switch of the key status enumeration object. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int32_t OH_Input_GetKeySwitch(const struct Input_KeyState* keyState); @@ -461,7 +452,6 @@ int32_t OH_Input_GetKeySwitch(const struct Input_KeyState* keyState); * {@link INPUT_SUCCESS} inject keyEvent success.\n * {@link INPUT_PERMISSION_DENIED} Permission verification failed.\n * {@link INPUT_PARAMETER_ERROR} keyCode is less 0, can not process.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int32_t OH_Input_InjectKeyEvent(const struct Input_KeyEvent* keyEvent); @@ -471,7 +461,6 @@ int32_t OH_Input_InjectKeyEvent(const struct Input_KeyEvent* keyEvent); * * @return Returns an {@link Input_KeyEvent} pointer object if the operation is successful. * Otherwise, a null pointer is returned. The possible cause is memory allocation failure. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ struct Input_KeyEvent* OH_Input_CreateKeyEvent(); @@ -480,7 +469,6 @@ struct Input_KeyEvent* OH_Input_CreateKeyEvent(); * @brief Destroys a key event object. * * @param keyEvent Key event object. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_DestroyKeyEvent(struct Input_KeyEvent** keyEvent); @@ -490,7 +478,6 @@ void OH_Input_DestroyKeyEvent(struct Input_KeyEvent** keyEvent); * * @param keyEvent Key event object. * @param action Key event type. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_SetKeyEventAction(struct Input_KeyEvent* keyEvent, int32_t action); @@ -500,7 +487,6 @@ void OH_Input_SetKeyEventAction(struct Input_KeyEvent* keyEvent, int32_t action) * * @param keyEvent Key event object. * @return Key event type. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int32_t OH_Input_GetKeyEventAction(const struct Input_KeyEvent* keyEvent); @@ -510,7 +496,6 @@ int32_t OH_Input_GetKeyEventAction(const struct Input_KeyEvent* keyEvent); * * @param keyEvent Key event object. * @param keyCode keyCode Key code. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_SetKeyEventKeyCode(struct Input_KeyEvent* keyEvent, int32_t keyCode); @@ -520,7 +505,6 @@ void OH_Input_SetKeyEventKeyCode(struct Input_KeyEvent* keyEvent, int32_t keyCod * * @param keyEvent Key event object. * @return Key code. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int32_t OH_Input_GetKeyEventKeyCode(const struct Input_KeyEvent* keyEvent); @@ -530,7 +514,6 @@ int32_t OH_Input_GetKeyEventKeyCode(const struct Input_KeyEvent* keyEvent); * * @param keyEvent Key event object. * @param actionTime Time when the key event occurs. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_SetKeyEventActionTime(struct Input_KeyEvent* keyEvent, int64_t actionTime); @@ -540,7 +523,6 @@ void OH_Input_SetKeyEventActionTime(struct Input_KeyEvent* keyEvent, int64_t act * * @param keyEvent Key event object. * @return Returns the time when the key event occurs. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int64_t OH_Input_GetKeyEventActionTime(const struct Input_KeyEvent* keyEvent); @@ -550,7 +532,6 @@ int64_t OH_Input_GetKeyEventActionTime(const struct Input_KeyEvent* keyEvent); * * @param keyEvent Key event object. * @param windowId The windowId for a key event. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 15 */ void OH_Input_SetKeyEventWindowId(struct Input_KeyEvent* keyEvent, int32_t windowId); @@ -560,7 +541,6 @@ void OH_Input_SetKeyEventWindowId(struct Input_KeyEvent* keyEvent, int32_t windo * * @param keyEvent Key event object. * @return windowId. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 15 */ int32_t OH_Input_GetKeyEventWindowId(const struct Input_KeyEvent* keyEvent); @@ -570,7 +550,6 @@ int32_t OH_Input_GetKeyEventWindowId(const struct Input_KeyEvent* keyEvent); * * @param keyEvent Key event object. * @param displayId The displayId for a key event. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 15 */ void OH_Input_SetKeyEventDisplayId(struct Input_KeyEvent* keyEvent, int32_t displayId); @@ -580,7 +559,6 @@ void OH_Input_SetKeyEventDisplayId(struct Input_KeyEvent* keyEvent, int32_t disp * * @param keyEvent Key event object. * @return displayId. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 15 */ int32_t OH_Input_GetKeyEventDisplayId(const struct Input_KeyEvent* keyEvent); @@ -593,7 +571,6 @@ int32_t OH_Input_GetKeyEventDisplayId(const struct Input_KeyEvent* keyEvent); * {@link INPUT_SUCCESS} inject mouseEvent success.\n * {@link INPUT_PERMISSION_DENIED} Permission verification failed.\n * {@link INPUT_PARAMETER_ERROR} Parameter check failed.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int32_t OH_Input_InjectMouseEvent(const struct Input_MouseEvent* mouseEvent); @@ -603,7 +580,6 @@ int32_t OH_Input_InjectMouseEvent(const struct Input_MouseEvent* mouseEvent); * * @return Returns an {@link Input_MouseEvent} pointer object if the operation is successful. * Otherwise, a null pointer is returned. The possible cause is memory allocation failure. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ struct Input_MouseEvent* OH_Input_CreateMouseEvent(); @@ -612,7 +588,6 @@ struct Input_MouseEvent* OH_Input_CreateMouseEvent(); * @brief Destroys a mouse event object. * * @param mouseEvent Mouse event object. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_DestroyMouseEvent(struct Input_MouseEvent** mouseEvent); @@ -622,7 +597,6 @@ void OH_Input_DestroyMouseEvent(struct Input_MouseEvent** mouseEvent); * * @param mouseEvent Mouse event object. * @param action Mouse action. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_SetMouseEventAction(struct Input_MouseEvent* mouseEvent, int32_t action); @@ -632,7 +606,6 @@ void OH_Input_SetMouseEventAction(struct Input_MouseEvent* mouseEvent, int32_t a * * @param mouseEvent Mouse event object. * @return Mouse action. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int32_t OH_Input_GetMouseEventAction(const struct Input_MouseEvent* mouseEvent); @@ -642,7 +615,6 @@ int32_t OH_Input_GetMouseEventAction(const struct Input_MouseEvent* mouseEvent); * * @param mouseEvent Mouse event object. * @param displayX X coordinate on the display. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_SetMouseEventDisplayX(struct Input_MouseEvent* mouseEvent, int32_t displayX); @@ -652,7 +624,6 @@ void OH_Input_SetMouseEventDisplayX(struct Input_MouseEvent* mouseEvent, int32_t * * @param mouseEvent Mouse event object. * @return X coordinate on the display. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int32_t OH_Input_GetMouseEventDisplayX(const struct Input_MouseEvent* mouseEvent); @@ -662,7 +633,6 @@ int32_t OH_Input_GetMouseEventDisplayX(const struct Input_MouseEvent* mouseEvent * * @param mouseEvent Mouse event object. * @param displayY Y coordinate on the display. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_SetMouseEventDisplayY(struct Input_MouseEvent* mouseEvent, int32_t displayY); @@ -672,7 +642,6 @@ void OH_Input_SetMouseEventDisplayY(struct Input_MouseEvent* mouseEvent, int32_t * * @param mouseEvent Mouse event object. * @return Y coordinate on the display. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int32_t OH_Input_GetMouseEventDisplayY(const struct Input_MouseEvent* mouseEvent); @@ -682,7 +651,6 @@ int32_t OH_Input_GetMouseEventDisplayY(const struct Input_MouseEvent* mouseEvent * * @param mouseEvent Mouse event object. * @param button Mouse button. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_SetMouseEventButton(struct Input_MouseEvent* mouseEvent, int32_t button); @@ -692,7 +660,6 @@ void OH_Input_SetMouseEventButton(struct Input_MouseEvent* mouseEvent, int32_t b * * @param mouseEvent Mouse event object. * @return Mouse button. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int32_t OH_Input_GetMouseEventButton(const struct Input_MouseEvent* mouseEvent); @@ -702,7 +669,6 @@ int32_t OH_Input_GetMouseEventButton(const struct Input_MouseEvent* mouseEvent); * * @param mouseEvent Mouse event object. * @param axisType Axis type, for example, X axis or Y axis. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_SetMouseEventAxisType(struct Input_MouseEvent* mouseEvent, int32_t axisType); @@ -712,7 +678,6 @@ void OH_Input_SetMouseEventAxisType(struct Input_MouseEvent* mouseEvent, int32_t * * @param mouseEvent Mouse event object. * @return Axis type. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int32_t OH_Input_GetMouseEventAxisType(const struct Input_MouseEvent* mouseEvent); @@ -723,7 +688,6 @@ int32_t OH_Input_GetMouseEventAxisType(const struct Input_MouseEvent* mouseEvent * @param mouseEvent Mouse event object. * @param axisValue Axis value. A positive value means scrolling forward, * and a negative number means scrolling backward. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_SetMouseEventAxisValue(struct Input_MouseEvent* mouseEvent, float axisValue); @@ -733,7 +697,6 @@ void OH_Input_SetMouseEventAxisValue(struct Input_MouseEvent* mouseEvent, float * * @param mouseEvent Mouse event object. * @return Axis value. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ float OH_Input_GetMouseEventAxisValue(const struct Input_MouseEvent* mouseEvent); @@ -743,7 +706,6 @@ float OH_Input_GetMouseEventAxisValue(const struct Input_MouseEvent* mouseEvent) * * @param mouseEvent Mouse event object. * @param actionTime Time when the mouse event occurs. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_SetMouseEventActionTime(struct Input_MouseEvent* mouseEvent, int64_t actionTime); @@ -753,7 +715,6 @@ void OH_Input_SetMouseEventActionTime(struct Input_MouseEvent* mouseEvent, int64 * * @param mouseEvent Mouse event object. * @return Returns the time when the mouse event occurs. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int64_t OH_Input_GetMouseEventActionTime(const struct Input_MouseEvent* mouseEvent); @@ -763,7 +724,6 @@ int64_t OH_Input_GetMouseEventActionTime(const struct Input_MouseEvent* mouseEve * * @param mouseEvent Mouse event object. * @param windowId The windowId for a mouse event. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 15 */ void OH_Input_SetMouseEventWindowId(struct Input_MouseEvent* mouseEvent, int32_t windowId); @@ -773,7 +733,6 @@ void OH_Input_SetMouseEventWindowId(struct Input_MouseEvent* mouseEvent, int32_t * * @param mouseEvent Mouse event object. * @return windowId. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 15 */ int32_t OH_Input_GetMouseEventWindowId(const struct Input_MouseEvent* mouseEvent); @@ -783,7 +742,6 @@ int32_t OH_Input_GetMouseEventWindowId(const struct Input_MouseEvent* mouseEvent * * @param mouseEvent Mouse event object. * @param displayId The displayId for a mouse event. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 15 */ void OH_Input_SetMouseEventDisplayId(struct Input_MouseEvent* mouseEvent, int32_t displayId); @@ -793,7 +751,6 @@ void OH_Input_SetMouseEventDisplayId(struct Input_MouseEvent* mouseEvent, int32_ * * @param mouseEvent Mouse event object. * @return displayId. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 15 */ int32_t OH_Input_GetMouseEventDisplayId(const struct Input_MouseEvent* mouseEvent); @@ -805,7 +762,6 @@ int32_t OH_Input_GetMouseEventDisplayId(const struct Input_MouseEvent* mouseEven * @return OH_Input_InjectTouchEvent function result code. * {@link INPUT_SUCCESS} inject touchEvent success.\n * {@link INPUT_PARAMETER_ERROR} Parameter check failed.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int32_t OH_Input_InjectTouchEvent(const struct Input_TouchEvent* touchEvent); @@ -815,7 +771,6 @@ int32_t OH_Input_InjectTouchEvent(const struct Input_TouchEvent* touchEvent); * * @return Returns an {@link Input_TouchEvent} pointer object if the operation is successful. * Otherwise, a null pointer is returned. The possible cause is memory allocation failure. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ struct Input_TouchEvent* OH_Input_CreateTouchEvent(); @@ -824,7 +779,6 @@ struct Input_TouchEvent* OH_Input_CreateTouchEvent(); * @brief Destroys a touch event object. * * @param touchEvent Touch event object. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_DestroyTouchEvent(struct Input_TouchEvent** touchEvent); @@ -834,7 +788,6 @@ void OH_Input_DestroyTouchEvent(struct Input_TouchEvent** touchEvent); * * @param touchEvent Touch event object. * @param action Touch action. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_SetTouchEventAction(struct Input_TouchEvent* touchEvent, int32_t action); @@ -844,7 +797,6 @@ void OH_Input_SetTouchEventAction(struct Input_TouchEvent* touchEvent, int32_t a * * @param touchEvent Touch event object. * @return Touch action. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int32_t OH_Input_GetTouchEventAction(const struct Input_TouchEvent* touchEvent); @@ -854,7 +806,6 @@ int32_t OH_Input_GetTouchEventAction(const struct Input_TouchEvent* touchEvent); * * @param touchEvent Touch event object. * @param id Finger ID. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_SetTouchEventFingerId(struct Input_TouchEvent* touchEvent, int32_t id); @@ -864,7 +815,6 @@ void OH_Input_SetTouchEventFingerId(struct Input_TouchEvent* touchEvent, int32_t * * @param touchEvent Touch event object. * @return Finger ID. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int32_t OH_Input_GetTouchEventFingerId(const struct Input_TouchEvent* touchEvent); @@ -874,7 +824,6 @@ int32_t OH_Input_GetTouchEventFingerId(const struct Input_TouchEvent* touchEvent * * @param touchEvent Touch event object. * @param displayX X coordinate. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_SetTouchEventDisplayX(struct Input_TouchEvent* touchEvent, int32_t displayX); @@ -884,7 +833,6 @@ void OH_Input_SetTouchEventDisplayX(struct Input_TouchEvent* touchEvent, int32_t * * @param touchEvent Touch event object. * @return X coordinate. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int32_t OH_Input_GetTouchEventDisplayX(const struct Input_TouchEvent* touchEvent); @@ -894,7 +842,6 @@ int32_t OH_Input_GetTouchEventDisplayX(const struct Input_TouchEvent* touchEvent * * @param touchEvent Touch event object. * @param displayY Y coordinate. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_SetTouchEventDisplayY(struct Input_TouchEvent* touchEvent, int32_t displayY); @@ -904,7 +851,6 @@ void OH_Input_SetTouchEventDisplayY(struct Input_TouchEvent* touchEvent, int32_t * * @param touchEvent Touch event object. * @return Y coordinate. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int32_t OH_Input_GetTouchEventDisplayY(const struct Input_TouchEvent* touchEvent); @@ -914,7 +860,6 @@ int32_t OH_Input_GetTouchEventDisplayY(const struct Input_TouchEvent* touchEvent * * @param touchEvent Touch event object. * @param actionTime Time when the touch event occurs. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_SetTouchEventActionTime(struct Input_TouchEvent* touchEvent, int64_t actionTime); @@ -924,7 +869,6 @@ void OH_Input_SetTouchEventActionTime(struct Input_TouchEvent* touchEvent, int64 * * @param touchEvent touch event object. * @return Returns the time when the touch event occurs. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ int64_t OH_Input_GetTouchEventActionTime(const struct Input_TouchEvent* touchEvent); @@ -934,7 +878,6 @@ int64_t OH_Input_GetTouchEventActionTime(const struct Input_TouchEvent* touchEve * * @param touchEvent Touch event object. * @param windowId The windowId for a touch event. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 15 */ void OH_Input_SetTouchEventWindowId(struct Input_TouchEvent* touchEvent, int32_t windowId); @@ -944,7 +887,6 @@ void OH_Input_SetTouchEventWindowId(struct Input_TouchEvent* touchEvent, int32_t * * @param touchEvent Touch event object. * @return windowId. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 15 */ int32_t OH_Input_GetTouchEventWindowId(const struct Input_TouchEvent* touchEvent); @@ -954,7 +896,6 @@ int32_t OH_Input_GetTouchEventWindowId(const struct Input_TouchEvent* touchEvent * * @param touchEvent Touch event object. * @param displayId The displayId for a touch event. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 15 */ void OH_Input_SetTouchEventDisplayId(struct Input_TouchEvent* touchEvent, int32_t displayId); @@ -964,7 +905,6 @@ void OH_Input_SetTouchEventDisplayId(struct Input_TouchEvent* touchEvent, int32_ * * @param touchEvent Touch event object. * @return displayId. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 15 */ int32_t OH_Input_GetTouchEventDisplayId(const struct Input_TouchEvent* touchEvent); @@ -972,7 +912,6 @@ int32_t OH_Input_GetTouchEventDisplayId(const struct Input_TouchEvent* touchEven /** * @brief Cancels event injection and revokes authorization. * - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ void OH_Input_CancelInjection(); @@ -982,7 +921,6 @@ void OH_Input_CancelInjection(); * * @return If the operation is successful, a {@Link Input_AxisEvent} object is returned. * If the operation fails, null is returned. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_AxisEvent* OH_Input_CreateAxisEvent(void); @@ -994,7 +932,6 @@ Input_AxisEvent* OH_Input_CreateAxisEvent(void); * @return OH_Input_DestroyAxisEvent function result code. * {@link INPUT_SUCCESS} Destroys axisEvent success.\n * {@link INPUT_PARAMETER_ERROR}The axisEvent is NULL or the *axisEvent is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_DestroyAxisEvent(Input_AxisEvent** axisEvent); @@ -1007,7 +944,6 @@ Input_Result OH_Input_DestroyAxisEvent(Input_AxisEvent** axisEvent); * @return OH_Input_SetAxisEventAction function result code. * {@link INPUT_SUCCESS} Sets the axis event action success.\n * {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_SetAxisEventAction(Input_AxisEvent* axisEvent, InputEvent_AxisAction action); @@ -1020,7 +956,6 @@ Input_Result OH_Input_SetAxisEventAction(Input_AxisEvent* axisEvent, InputEvent_ * @return OH_Input_GetAxisEventAction function result code. * {@link INPUT_SUCCESS} Obtains the axis event action success.\n * {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL or the action is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_GetAxisEventAction(const Input_AxisEvent* axisEvent, InputEvent_AxisAction *action); @@ -1033,7 +968,6 @@ Input_Result OH_Input_GetAxisEventAction(const Input_AxisEvent* axisEvent, Input * @return OH_Input_SetAxisEventDisplayX function result code. * {@link INPUT_SUCCESS} Sets the X coordinate of the axis event success.\n * {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_SetAxisEventDisplayX(Input_AxisEvent* axisEvent, float displayX); @@ -1046,7 +980,6 @@ Input_Result OH_Input_SetAxisEventDisplayX(Input_AxisEvent* axisEvent, float dis * @return OH_Input_GetAxisEventDisplayX function result code. * {@link INPUT_SUCCESS} Obtains the X coordinate of the axis event success.\n * {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL or the displayX is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_GetAxisEventDisplayX(const Input_AxisEvent* axisEvent, float* displayX); @@ -1059,7 +992,6 @@ Input_Result OH_Input_GetAxisEventDisplayX(const Input_AxisEvent* axisEvent, flo * @return OH_Input_SetAxisEventDisplayY function result code. * {@link INPUT_SUCCESS} Sets the Y coordinate of the axis event success.\n * {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_SetAxisEventDisplayY(Input_AxisEvent* axisEvent, float displayY); @@ -1072,7 +1004,6 @@ Input_Result OH_Input_SetAxisEventDisplayY(Input_AxisEvent* axisEvent, float dis * @return OH_Input_GetAxisEventDisplayY function result code. * {@link INPUT_SUCCESS} Obtains the Y coordinate of the axis event success.\n * {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL or the displayY is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_GetAxisEventDisplayY(const Input_AxisEvent* axisEvent, float* displayY); @@ -1086,7 +1017,6 @@ Input_Result OH_Input_GetAxisEventDisplayY(const Input_AxisEvent* axisEvent, flo * @return OH_Input_SetAxisEventAxisValue function result code. * {@link INPUT_SUCCESS} Sets the axis value of the axis event success.\n * {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_SetAxisEventAxisValue(Input_AxisEvent* axisEvent, @@ -1102,7 +1032,6 @@ Input_Result OH_Input_SetAxisEventAxisValue(Input_AxisEvent* axisEvent, * {@link INPUT_SUCCESS} Obtains the axis value of the axis event success.\n * {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL or the axisValue is NULL, * or the axisType not found in the axisEvent.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_GetAxisEventAxisValue(const Input_AxisEvent* axisEvent, @@ -1116,7 +1045,6 @@ Input_Result OH_Input_GetAxisEventAxisValue(const Input_AxisEvent* axisEvent, * @return OH_Input_SetAxisEventActionTime function result code. * {@link INPUT_SUCCESS} Sets the time when an axis event occurs success.\n * {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_SetAxisEventActionTime(Input_AxisEvent* axisEvent, int64_t actionTime); @@ -1129,7 +1057,6 @@ Input_Result OH_Input_SetAxisEventActionTime(Input_AxisEvent* axisEvent, int64_t * @return OH_Input_GetAxisEventActionTime function result code. * {@link INPUT_SUCCESS} Obtains the time when an axis event occurs success.\n * {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL or the actionTime is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_GetAxisEventActionTime(const Input_AxisEvent* axisEvent, int64_t* actionTime); @@ -1142,7 +1069,6 @@ Input_Result OH_Input_GetAxisEventActionTime(const Input_AxisEvent* axisEvent, i * @return OH_Input_SetAxisEventType function result code. * {@link INPUT_SUCCESS} Sets the axis event type success.\n * {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_SetAxisEventType(Input_AxisEvent* axisEvent, InputEvent_AxisEventType axisEventType); @@ -1155,7 +1081,6 @@ Input_Result OH_Input_SetAxisEventType(Input_AxisEvent* axisEvent, InputEvent_Ax * @return OH_Input_GetAxisEventType function result code. * {@link INPUT_SUCCESS} Obtains the axis event type success.\n * {@Link INPUT_PARAMETER_ERROR} The axisEvent is NULL or the axisEventType is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_GetAxisEventType(const Input_AxisEvent* axisEvent, InputEvent_AxisEventType* axisEventType); @@ -1168,7 +1093,6 @@ Input_Result OH_Input_GetAxisEventType(const Input_AxisEvent* axisEvent, InputEv * @return OH_Input_SetAxisEventSourceType function result code. * {@link INPUT_SUCCESS} Sets the axis event source type success.\n * {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_SetAxisEventSourceType(Input_AxisEvent* axisEvent, InputEvent_SourceType sourceType); @@ -1181,7 +1105,6 @@ Input_Result OH_Input_SetAxisEventSourceType(Input_AxisEvent* axisEvent, InputEv * @return OH_Input_GetAxisEventSourceType function result code. * {@link INPUT_SUCCESS} Obtains the axis event source type success.\n * {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL or the sourceType is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_GetAxisEventSourceType(const Input_AxisEvent* axisEvent, InputEvent_SourceType* sourceType); @@ -1194,7 +1117,6 @@ Input_Result OH_Input_GetAxisEventSourceType(const Input_AxisEvent* axisEvent, I * @return OH_Input_SetAxisEventDisplayY function result code. * {@link INPUT_SUCCESS} Sets the Y coordinate of the axis event success.\n * {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 15 */ Input_Result OH_Input_SetAxisEventWindowId(Input_AxisEvent* axisEvent, int32_t windowId); @@ -1207,7 +1129,6 @@ Input_Result OH_Input_SetAxisEventWindowId(Input_AxisEvent* axisEvent, int32_t w * @return OH_Input_GetAxisEventDisplayY function result code. * {@link INPUT_SUCCESS} Obtains the Y coordinate of the axis event success.\n * {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL or the displayY is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 15 */ Input_Result OH_Input_GetAxisEventWindowId(const Input_AxisEvent* axisEvent, int32_t* windowId); @@ -1220,7 +1141,6 @@ Input_Result OH_Input_GetAxisEventWindowId(const Input_AxisEvent* axisEvent, int * @return OH_Input_SetAxisEventDisplayY function result code. * {@link INPUT_SUCCESS} Sets the Y coordinate of the axis event success.\n * {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 15 */ Input_Result OH_Input_SetAxisEventDisplayId(Input_AxisEvent* axisEvent, int32_t displayId); @@ -1233,7 +1153,6 @@ Input_Result OH_Input_SetAxisEventDisplayId(Input_AxisEvent* axisEvent, int32_t * @return OH_Input_GetAxisEventDisplayY function result code. * {@link INPUT_SUCCESS} Obtains the Y coordinate of the axis event success.\n * {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL or the displayY is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 15 */ Input_Result OH_Input_GetAxisEventDisplayId(const Input_AxisEvent* axisEvent, int32_t* displayId); @@ -1248,7 +1167,6 @@ Input_Result OH_Input_GetAxisEventDisplayId(const Input_AxisEvent* axisEvent, in * {@link INPUT_PERMISSION_DENIED} Permission verification failed.\n * {@link INPUT_PARAMETER_ERROR} The callback is NULL.\n * {@link INPUT_SERVICE_EXCEPTION} Failed to add the monitor because the service is exception.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_AddKeyEventMonitor(Input_KeyEventCallback callback); @@ -1264,7 +1182,6 @@ Input_Result OH_Input_AddKeyEventMonitor(Input_KeyEventCallback callback); * {@link INPUT_PERMISSION_DENIED} Permission verification failed.\n * {@link INPUT_PARAMETER_ERROR} The callback is NULL.\n * {@link INPUT_SERVICE_EXCEPTION} Failed to add the monitor because the service is exception.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_AddMouseEventMonitor(Input_MouseEventCallback callback); @@ -1279,7 +1196,6 @@ Input_Result OH_Input_AddMouseEventMonitor(Input_MouseEventCallback callback); * {@link INPUT_PERMISSION_DENIED} Permission verification failed.\n * {@link INPUT_PARAMETER_ERROR} The callback is NULL.\n * {@link INPUT_SERVICE_EXCEPTION} Failed to add the monitor because the service is exception.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_AddTouchEventMonitor(Input_TouchEventCallback callback); @@ -1295,7 +1211,6 @@ Input_Result OH_Input_AddTouchEventMonitor(Input_TouchEventCallback callback); * {@link INPUT_PERMISSION_DENIED} Permission verification failed.\n * {@link INPUT_PARAMETER_ERROR} The callback is NULL.\n * {@link INPUT_SERVICE_EXCEPTION} Failed to add the monitor because the service is exception.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_AddAxisEventMonitorForAll(Input_AxisEventCallback callback); @@ -1311,7 +1226,6 @@ Input_Result OH_Input_AddAxisEventMonitorForAll(Input_AxisEventCallback callback * {@link INPUT_PERMISSION_DENIED} Permission verification failed.\n * {@link INPUT_PARAMETER_ERROR} The callback is NULL.\n * {@link INPUT_SERVICE_EXCEPTION} Failed to add the monitor because the service is exception.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_AddAxisEventMonitor(InputEvent_AxisEventType axisEventType, Input_AxisEventCallback callback); @@ -1326,7 +1240,6 @@ Input_Result OH_Input_AddAxisEventMonitor(InputEvent_AxisEventType axisEventType * {@link INPUT_PERMISSION_DENIED} Permission verification failed.\n * {@link INPUT_PARAMETER_ERROR} The callback is NULL or has not been added.\n * {@link INPUT_SERVICE_EXCEPTION} Fail to remove the monitor because the service is exception.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_RemoveKeyEventMonitor(Input_KeyEventCallback callback); @@ -1341,7 +1254,6 @@ Input_Result OH_Input_RemoveKeyEventMonitor(Input_KeyEventCallback callback); * {@link INPUT_PERMISSION_DENIED} Permission verification failed.\n * {@link INPUT_PARAMETER_ERROR} The callback is NULL or has not been added.\n * {@link INPUT_SERVICE_EXCEPTION} Fail to remove the monitor because the service is exception.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_RemoveMouseEventMonitor(Input_MouseEventCallback callback); @@ -1356,7 +1268,6 @@ Input_Result OH_Input_RemoveMouseEventMonitor(Input_MouseEventCallback callback) * {@link INPUT_PERMISSION_DENIED} Permission verification failed.\n * {@link INPUT_PARAMETER_ERROR} The callback is NULL or has not been added.\n * {@link INPUT_SERVICE_EXCEPTION} Fail to remove the monitor because the service is exception.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_RemoveTouchEventMonitor(Input_TouchEventCallback callback); @@ -1371,7 +1282,6 @@ Input_Result OH_Input_RemoveTouchEventMonitor(Input_TouchEventCallback callback) * {@link INPUT_PERMISSION_DENIED} Permission verification failed.\n * {@link INPUT_PARAMETER_ERROR} The callback is NULL or has not been added.\n * {@link INPUT_SERVICE_EXCEPTION} Fail to remove the monitor because the service is exception.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_RemoveAxisEventMonitorForAll(Input_AxisEventCallback callback); @@ -1387,7 +1297,6 @@ Input_Result OH_Input_RemoveAxisEventMonitorForAll(Input_AxisEventCallback callb * {@link INPUT_PERMISSION_DENIED} Permission verification failed.\n * {@link INPUT_PARAMETER_ERROR} The callback is NULL or has not been added.\n * {@link INPUT_SERVICE_EXCEPTION} Fail to remove the monitor because the service is exception.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_RemoveAxisEventMonitor(InputEvent_AxisEventType axisEventType, Input_AxisEventCallback callback); @@ -1404,7 +1313,6 @@ Input_Result OH_Input_RemoveAxisEventMonitor(InputEvent_AxisEventType axisEventT * {@link INPUT_PARAMETER_ERROR} The callback is NULL.\n * {@link INPUT_REPEAT_INTERCEPTOR} Interceptor repeatedly created for an application.\n * {@link INPUT_SERVICE_EXCEPTION} Failed to add the interceptor because the service is exception.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_AddKeyEventInterceptor(Input_KeyEventCallback callback, Input_InterceptorOptions *option); @@ -1423,7 +1331,6 @@ Input_Result OH_Input_AddKeyEventInterceptor(Input_KeyEventCallback callback, In * {@link INPUT_PARAMETER_ERROR} The callback is NULL.\n * {@link INPUT_REPEAT_INTERCEPTOR} Interceptor repeatedly created for an application.\n * {@link INPUT_SERVICE_EXCEPTION} Failed to add the interceptor because the service is exception.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_AddInputEventInterceptor(Input_InterceptorEventCallback *callback, @@ -1437,7 +1344,6 @@ Input_Result OH_Input_AddInputEventInterceptor(Input_InterceptorEventCallback *c * {@link INPUT_SUCCESS}Removes a key event interceptor success.\n * {@link INPUT_PERMISSION_DENIED} Permission verification failed.\n * {@link INPUT_SERVICE_EXCEPTION} Failed to remove the interceptor because the service is exception.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_RemoveKeyEventInterceptor(void); @@ -1450,7 +1356,6 @@ Input_Result OH_Input_RemoveKeyEventInterceptor(void); * {@link INPUT_SUCCESS} Removes an interceptor for input events success.\n * {@link INPUT_PERMISSION_DENIED} Permission verification failed.\n * {@link INPUT_SERVICE_EXCEPTION} Failed to remove the interceptor because the service is exception.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 12 */ Input_Result OH_Input_RemoveInputEventInterceptor(void); @@ -1463,7 +1368,6 @@ Input_Result OH_Input_RemoveInputEventInterceptor(void); * {@Link INPUT_SUCCESS} if the Operation is successful.\n * {@Link INPUT_SERVICE_EXCEPTION} Failed to get the interval because the service is exception.\n * {@Link INPUT_PARAMETER_ERROR} The timeInterval is NULL.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 14 */ Input_Result OH_Input_GetIntervalSinceLastInput(int64_t *timeInterval); @@ -1473,7 +1377,6 @@ Input_Result OH_Input_GetIntervalSinceLastInput(int64_t *timeInterval); * * @return Returns an {@Link Input_Hotkey} pointer object if the operation is successful. Otherwise, a null pointer is * returned. The possible cause is memory allocation failure. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 14 */ Input_Hotkey *OH_Input_CreateHotkey(void); @@ -1482,7 +1385,6 @@ Input_Hotkey *OH_Input_CreateHotkey(void); * @brief Destroys a hot key object. * * @param hotkey Hot key object. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 14 */ void OH_Input_DestroyHotkey(Input_Hotkey **hotkey); @@ -1493,7 +1395,6 @@ void OH_Input_DestroyHotkey(Input_Hotkey **hotkey); * @param hotkey Hotkey key object. * @param preKeys List of modifier keys. * @param size Number of modifier keys. One or two modifier keys are supported. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 14 */ void OH_Input_SetPreKeys(Input_Hotkey *hotkey, int32_t *preKeys, int32_t size); @@ -1509,7 +1410,6 @@ void OH_Input_SetPreKeys(Input_Hotkey *hotkey, int32_t *preKeys, int32_t size); * {@link INPUT_PARAMETER_ERROR} The hotkey is NULL or the pressedKeys is NULL or the pressedKeyCount * is NULL;\n * {@Link INPUT_DEVICE_NOT_SUPPORTED} Capability not supported.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 14 */ Input_Result OH_Input_GetPreKeys(const Input_Hotkey *hotkey, int32_t **preKeys, int32_t *preKeyCount); @@ -1519,7 +1419,6 @@ Input_Result OH_Input_GetPreKeys(const Input_Hotkey *hotkey, int32_t **preKeys, * * @param hotkey Hotkey key object. * @param finalKey Modified key. Only one modified key is supported. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 14 */ void OH_Input_SetFinalKey(Input_Hotkey *hotkey, int32_t finalKey); @@ -1533,7 +1432,6 @@ void OH_Input_SetFinalKey(Input_Hotkey *hotkey, int32_t finalKey); * {@link INPUT_SUCCESS} if the operation is successful;\n * {@link INPUT_PARAMETER_ERROR} The hotkey is NULL or the finalKeyCode is NULL;\n * {@Link INPUT_DEVICE_NOT_SUPPORTED} Capability not supported.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 14 */ Input_Result OH_Input_GetFinalKey(const Input_Hotkey *hotkey, int32_t *finalKeyCode); @@ -1546,7 +1444,6 @@ Input_Result OH_Input_GetFinalKey(const Input_Hotkey *hotkey, int32_t *finalKeyC * @return Returns a pointer to an array of {@Link Input_Hotkey} instances if the operation is successful. If the * operation fails, a null pointer is returned. The possible cause is memory allocation failure or count is not equal * to the number of system hotkeys. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 14 */ Input_Hotkey **OH_Input_CreateAllSystemHotkeys(int32_t count); @@ -1557,7 +1454,6 @@ Input_Hotkey **OH_Input_CreateAllSystemHotkeys(int32_t count); * @param hotkeys Pointer to an array of {@Link Input_Hotkey } instances created by the * {@Link OH_Input_CreateAllSystemHotkeys} method. * @param count Count of the array to be destroyed, which must be the same as the number of system shortcut keys. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 14 */ void OH_Input_DestroyAllSystemHotkeys(Input_Hotkey **hotkeys, int32_t count); @@ -1573,7 +1469,6 @@ void OH_Input_DestroyAllSystemHotkeys(Input_Hotkey **hotkeys, int32_t count); * {@link INPUT_PARAMETER_ERROR} The hotkey or count is NULL, or the value of count does not match the number * of system shortcut keys supported by the system; * {@Link INPUT_DEVICE_NOT_SUPPORTED} Capability not supported.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 14 */ Input_Result OH_Input_GetAllSystemHotkeys(Input_Hotkey **hotkey, int32_t *count); @@ -1584,7 +1479,6 @@ Input_Result OH_Input_GetAllSystemHotkeys(Input_Hotkey **hotkey, int32_t *count) * @param hotkey Shortcut key object. * @param isRepeat Whether to report repeated key events. * The value true means to report repeated key events, and the value false means the opposite. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 14 */ void OH_Input_SetRepeat(Input_Hotkey* hotkey, bool isRepeat); @@ -1598,7 +1492,6 @@ void OH_Input_SetRepeat(Input_Hotkey* hotkey, bool isRepeat); * {@link INPUT_SUCCESS} if the operation is successful;\n * {@link INPUT_PARAMETER_ERROR} otherwise;\n * {@Link INPUT_DEVICE_NOT_SUPPORTED} Capability not supported.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 14 */ Input_Result OH_Input_GetRepeat(const Input_Hotkey* hotkey, bool *isRepeat); @@ -1615,7 +1508,6 @@ Input_Result OH_Input_GetRepeat(const Input_Hotkey* hotkey, bool *isRepeat); * {@Link INPUT_OCCUPIED_BY_SYSTEM} The hotkey has been used by the system. You can call the {@Link * GetAllSystemHotkeys} interface to query all system shortcut keys.\n * {@Link INPUT_OCCUPIED_BY_OTHER} The hotkey has been subscribed to by another.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 14 */ Input_Result OH_Input_AddHotkeyMonitor(const Input_Hotkey* hotkey, Input_HotkeyCallback callback); @@ -1629,7 +1521,6 @@ Input_Result OH_Input_AddHotkeyMonitor(const Input_Hotkey* hotkey, Input_HotkeyC * {@link INPUT_SUCCESS} if the operation is successful;\n * {@link INPUT_PARAMETER_ERROR} if hotkey or callback is NULL;\n * {@Link INPUT_DEVICE_NOT_SUPPORTED} Capability not supported.\n - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 14 */ Input_Result OH_Input_RemoveHotkeyMonitor(const Input_Hotkey* hotkey, Input_HotkeyCallback callback); @@ -1642,7 +1533,6 @@ Input_Result OH_Input_RemoveHotkeyMonitor(const Input_Hotkey* hotkey, Input_Hotk * @return OH_Input_RegisterDeviceListener status code, specifically, * {@link INPUT_SUCCESS} if the operation is successful;\n * {@link INPUT_PARAMETER_ERROR} if listener is NULL; - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 13 */ Input_Result OH_Input_RegisterDeviceListener(Input_DeviceListener* listener); @@ -1656,7 +1546,6 @@ Input_Result OH_Input_RegisterDeviceListener(Input_DeviceListener* listener); * {@link INPUT_SUCCESS} if the operation is successful;\n * {@link INPUT_PARAMETER_ERROR} if listener is NULL or no listener is registered; * {@link INPUT_SERVICE_EXCEPTION} if the service is abnormal. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 13 */ Input_Result OH_Input_UnregisterDeviceListener(Input_DeviceListener* listener); @@ -1667,7 +1556,6 @@ Input_Result OH_Input_UnregisterDeviceListener(Input_DeviceListener* listener); * @return OH_Input_UnregisterDeviceListener status code, specifically, * {@link INPUT_SUCCESS} if the operation is successful;\n * {@link INPUT_SERVICE_EXCEPTION} if the service is abnormal. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 13 */ Input_Result OH_Input_UnregisterDeviceListeners(); @@ -1681,7 +1569,6 @@ Input_Result OH_Input_UnregisterDeviceListeners(); * @return OH_Input_GetDeviceIds result code, specifically, * {@link INPUT_SUCCESS} if the operation is successful; * {@link INPUT_PARAMETER_ERROR} if deviceIds or outSize is a null pointer or inSize is less than 0. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 13 */ Input_Result OH_Input_GetDeviceIds(int32_t *deviceIds, int32_t inSize, int32_t *outSize); @@ -1695,7 +1582,6 @@ Input_Result OH_Input_GetDeviceIds(int32_t *deviceIds, int32_t inSize, int32_t * * {@link INPUT_SUCCESS} if the operation is successful; * {@link INPUT_PARAMETER_ERROR} if the deviceInfo is a null pointer or the deviceId is invalid. * You can use the {@Link OH_Input_GetDeviceIds} interface to query the device IDs supported by the system. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 13 */ Input_Result OH_Input_GetDevice(int32_t deviceId, Input_DeviceInfo **deviceInfo); @@ -1705,7 +1591,6 @@ Input_Result OH_Input_GetDevice(int32_t deviceId, Input_DeviceInfo **deviceInfo) * * @return Pointer to an {@Link Input_DeviceInfo} object if the operation is successful; * a null pointer otherwise (possibly because of a memory allocation failure). - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 13 */ Input_DeviceInfo* OH_Input_CreateDeviceInfo(void); @@ -1714,7 +1599,6 @@ Input_DeviceInfo* OH_Input_CreateDeviceInfo(void); * @brief Destroys a deviceInfo object. * * @param deviceInfo information object. For details, see {@Link Input_DeviceInfo}. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 13 */ void OH_Input_DestroyDeviceInfo(Input_DeviceInfo **deviceInfo); @@ -1727,7 +1611,6 @@ void OH_Input_DestroyDeviceInfo(Input_DeviceInfo **deviceInfo); * @return OH_Input_GetKeyboardType result code, specifically, * {@link INPUT_SUCCESS} if the operation is successful; * {@link INPUT_PARAMETER_ERROR} if the device ID is invalid or keyboardType is a null pointer. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 13 */ Input_Result OH_Input_GetKeyboardType(int32_t deviceId, int32_t *keyboardType); @@ -1740,7 +1623,6 @@ Input_Result OH_Input_GetKeyboardType(int32_t deviceId, int32_t *keyboardType); * @return OH_Input_GetDeviceId result code, specifically, * {@link INPUT_SUCCESS} if the operation is successful; * {@link INPUT_PARAMETER_ERROR} if deviceInfo or id is a null pointer. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 13 */ Input_Result OH_Input_GetDeviceId(Input_DeviceInfo *deviceInfo, int32_t *id); @@ -1753,7 +1635,6 @@ Input_Result OH_Input_GetDeviceId(Input_DeviceInfo *deviceInfo, int32_t *id); * @return OH_Input_GetDeviceName result code, specifically, * {@link INPUT_SUCCESS} if the operation is successful; * {@link INPUT_PARAMETER_ERROR} if deviceInfo or name is a null pointer. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 13 */ Input_Result OH_Input_GetDeviceName(Input_DeviceInfo *deviceInfo, char **name); @@ -1766,7 +1647,6 @@ Input_Result OH_Input_GetDeviceName(Input_DeviceInfo *deviceInfo, char **name); * @return OH_Input_GetCapabilities result code, specifically, * {@link INPUT_SUCCESS} if the operation is successful; * {@link INPUT_PARAMETER_ERROR} if deviceInfo or capabilities is a null pointer. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 13 */ Input_Result OH_Input_GetCapabilities(Input_DeviceInfo *deviceInfo, int32_t *capabilities); @@ -1779,7 +1659,6 @@ Input_Result OH_Input_GetCapabilities(Input_DeviceInfo *deviceInfo, int32_t *cap * @return OH_Input_GetDeviceVersion result code, specifically, * {@link INPUT_SUCCESS} if the operation is successful; * {@link INPUT_PARAMETER_ERROR} if deviceInfo or version is a null pointer. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 13 */ Input_Result OH_Input_GetDeviceVersion(Input_DeviceInfo *deviceInfo, int32_t *version); @@ -1792,7 +1671,6 @@ Input_Result OH_Input_GetDeviceVersion(Input_DeviceInfo *deviceInfo, int32_t *ve * @return OH_Input_GetDeviceProduct result code, specifically, * {@link INPUT_SUCCESS} if the operation is successful; * {@link INPUT_PARAMETER_ERROR} if deviceInfo or product is a null pointer. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 13 */ Input_Result OH_Input_GetDeviceProduct(Input_DeviceInfo *deviceInfo, int32_t *product); @@ -1805,7 +1683,6 @@ Input_Result OH_Input_GetDeviceProduct(Input_DeviceInfo *deviceInfo, int32_t *pr * @return OH_Input_GetDeviceVendor result code, specifically, * {@link INPUT_SUCCESS} if the operation is successful; * {@link INPUT_PARAMETER_ERROR} if deviceInfo or vendor is a null pointer. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 13 */ Input_Result OH_Input_GetDeviceVendor(Input_DeviceInfo *deviceInfo, int32_t *vendor); @@ -1818,7 +1695,6 @@ Input_Result OH_Input_GetDeviceVendor(Input_DeviceInfo *deviceInfo, int32_t *ven * @return OH_Input_GetDeviceAddress result code, specifically, * {@link INPUT_SUCCESS} if the operation is successful; * {@link INPUT_PARAMETER_ERROR} if deviceInfo or address is a null pointer. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 13 */ Input_Result OH_Input_GetDeviceAddress(Input_DeviceInfo *deviceInfo, char **address); @@ -1833,7 +1709,6 @@ Input_Result OH_Input_GetDeviceAddress(Input_DeviceInfo *deviceInfo, char **addr * {@link INPUT_SUCCESS} if the operation is successful; * {@link INPUT_PARAMETER_ERROR} if keyCode is invalid or state is a null pointer. * {@link INPUT_KEYBOARD_DEVICE_NOT_EXIST} no keyboard device connected. - * @syscap SystemCapability.MultimodalInput.Input.Core * @since 15 */ Input_Result OH_Input_GetFunctionKeyState(int32_t keyCode, int32_t *state);