arkui_sys::ui_input_event

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

@brief Obtains the time when this UI input event occurs.

@param event Indicates the pointer to the current UI input event. @return Returns the time when the UI input event occurs; returns 0 if any parameter error occurs. @since 12