Function OH_ArkUI_PointerEvent_GetHistorySize

Source
pub unsafe extern "C" fn OH_ArkUI_PointerEvent_GetHistorySize(
    event: *const ArkUI_UIInputEvent,
) -> u32
Available on crate feature api-12 only.
Expand description

Obtains the number of historical events 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.

§Returns

  • Returns the number of historical events.

Available since API-level: 12