OH_Input_SetKeyEventWindowId

Function OH_Input_SetKeyEventWindowId 

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

Sets the windowId for a key event.

ยงArguments

  • keyEvent - Key event object.

  • windowId - The windowId for a key event.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 15