pub unsafe extern "C" fn OH_ArkUI_PointerEvent_CreateClonedEvent(
event: *const ArkUI_UIInputEvent,
clonedEvent: *mut *mut ArkUI_UIInputEvent,
) -> i32Available on crate features
api-12 and api-15 only.Expand description
Creates a cloned event pointer based on an event pointer. This API is effective only for touch events.
§Arguments
-
event- Pointer to an ArkUI_UIInputEvent object. -
clonedEvent- Pointer to the cloned ArkUI_UIInputEvent object.
§Returns
- Result code.
[
ARKUI_ERROR_CODE_NO_ERROR] if the operation is successful. [ARKUI_ERROR_CODE_PARAM_INVALID] if a parameter error occurs.
Available since API-level: 15