OH_ArkUI_UIInputEvent_GetEventTime

Function OH_ArkUI_UIInputEvent_GetEventTime 

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

Obtains the time when this UI input event occurs.

§Arguments

  • event - Indicates the pointer to the current UI input event.

§Returns

  • Returns the time when the UI input event occurs; returns 0 if any parameter error occurs.

Available since API-level: 12