OH_Input_SetKeyEventActionTime

Function OH_Input_SetKeyEventActionTime 

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

Sets the time when a key event occurs.

ยงArguments

  • keyEvent - Key event object.

  • actionTime - Time when the key event occurs.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 12