OH_Input_GetTouchEventDisplayId

Function OH_Input_GetTouchEventDisplayId 

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

Obtains the displayId of a touch event.

§Arguments

  • touchEvent - Touch event object.

§Returns

  • displayId.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 15