OH_Input_GetTouchEventWindowId

Function OH_Input_GetTouchEventWindowId 

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

Obtains the windowId of a touch event.

§Arguments

  • touchEvent - Touch event object.

§Returns

  • windowId.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 15