OH_Input_SetMouseEventWindowId

Function OH_Input_SetMouseEventWindowId 

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

Sets the windowId for a mouse event.

ยงArguments

  • mouseEvent - Mouse event object.

  • windowId - The windowId for a mouse event.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 15