OH_Input_SetKeyEventAction

Function OH_Input_SetKeyEventAction 

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

Sets the key event type.

ยงArguments

  • keyEvent - Key event object.

  • action - Key event type.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 12