Skip to main content

OH_ArkUI_CoastingAxisEvent_GetEventTime

Function OH_ArkUI_CoastingAxisEvent_GetEventTime 

Source
pub unsafe extern "C" fn OH_ArkUI_CoastingAxisEvent_GetEventTime(
    event: *mut ArkUI_CoastingAxisEvent,
) -> i64
Available on crate features api-12 and api-22 only.
Expand description

Obtains the time when this coasting event occurs.

§Arguments

  • event - Indicates the pointer to the coasting axis event.

§Returns

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

Available since API-level: 22