pub unsafe extern "C" fn OH_ArkUI_PointerEvent_GetPointerId(
event: *const ArkUI_UIInputEvent,
pointerIndex: u32,
) -> i32Available on crate feature
api-12 only.Expand description
Obtains the ID of a touch point from a directional input event (such as a touch event, mouse event, or axis event).
§Arguments
event - Indicates the pointer to the current UI input event.
pointerIndex - Indicates the index of the target touch point in the multi-touch data list.
§Returns
Returns the ID of the corresponding touch point.
Available since API-level: 12