pub unsafe extern "C" fn OH_ArkUI_PointerEvent_PostClonedEvent(
node: ArkUI_NodeHandle,
event: *const ArkUI_UIInputEvent,
) -> i32Available on crate features
api-12 and api-15 only.Expand description
Posts a cloned event to a specific node.
§Arguments
-
node- Target node. -
event- Pointer to an ArkUI_UIInputEvent object.
§Returns
- Returns the result code.
Returns [
ARKUI_ERROR_CODE_NO_ERROR] if the operation is successful. Returns [ARKUI_ERROR_CODE_PARAM_INVALID] if a parameter error occurs. Returns [ARKUI_ERROR_CODE_NON_CLONED_POINTER_EVENT] if the input event pointer is not a cloned event pointer. Returns [ARKUI_ERROR_CODE_POST_CLONED_COMPONENT_STATUS_ABNORMAL] if the component status abnormal. Returns [ARKUI_ERROR_CODE_POST_CLONED_NO_COMPONENT_HIT_TO_RESPOND_TO_THE_EVENT] if no component hit to response to the event.
Available since API-level: 15