OH_Input_GetTouchEventActionTime

Function OH_Input_GetTouchEventActionTime 

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

Obtains the time when a touch event occurs.

§Arguments

  • touchEvent - touch event object.

§Returns

  • Returns the time when the touch event occurs.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 12