pub unsafe extern "C" fn OH_ArkUI_PointerEvent_GetInteractionHand(
event: *const ArkUI_UIInputEvent,
hand: *mut ArkUI_InteractionHand,
) -> i32Available on crate features
api-12 and api-15 only.Expand description
Obtains whether the current touch event is from the left or right hand.
§Arguments
-
event- Pointer to the current UI input event. -
hand- Whether the touch point is from the left or right hand.
§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.
Available since API-level: 15