arkui_sys::ui_input_event

Function OH_ArkUI_PointerEvent_GetHistoryPointerCount

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

@brief Obtains the number of touch points in a specific historical event from a directional input event (such as a touch event, mouse event, or axis event).

@param event Indicates the pointer to the current UI input event. @param historyIndex Indicates the index of the target historical event. @return Returns the number of touch points in the specified historical event @since 12