OH_Input_GetKeyEventDisplayId

Function OH_Input_GetKeyEventDisplayId 

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

Obtains the displayId of a key event.

§Arguments

  • keyEvent - Key event object.

§Returns

  • displayId.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 15