OH_Input_GetTouchEventDisplayY

Function OH_Input_GetTouchEventDisplayY 

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

Obtains the Y coordinate of a touch event.

§Arguments

  • touchEvent - Touch event object.

§Returns

  • Y coordinate.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 12