OH_Input_GetMouseEventDisplayId

Function OH_Input_GetMouseEventDisplayId 

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

Obtains the displayId of a mouse event.

§Arguments

  • mouseEvent - Mouse event object.

§Returns

  • displayId.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 15