OH_Input_SetKeyEventDisplayId

Function OH_Input_SetKeyEventDisplayId 

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

Sets the displayId for a key event.

ยงArguments

  • keyEvent - Key event object.

  • displayId - The displayId for a key event.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 15