pub unsafe extern "C" fn OH_ArkUI_PointerEvent_GetHistoryEventTime(
event: *const ArkUI_UIInputEvent,
historyIndex: u32,
) -> i64Available on crate feature
api-12 only.Expand description
Obtains the occurrence time of a historical event 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.
historyIndex - Indicates the index of the target historical event.
§Returns
Returns the time when the UI input event occurs; returns 0 if any parameter error occurs.
Available since API-level: 12