OH_Input_SetTouchEventWindowId

Function OH_Input_SetTouchEventWindowId 

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

Sets the windowId for a touch event.

ยงArguments

  • touchEvent - Touch event object.

  • windowId - The windowId for a touch event.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 15