OH_Input_CreateKeyState

Function OH_Input_CreateKeyState 

Source
pub unsafe extern "C" fn OH_Input_CreateKeyState() -> *mut Input_KeyState
Available on crate feature api-12 only.
Expand description

Creates a key status enumeration object.

ยงReturns

  • Returns an Input_KeyState pointer object if the operation is successful. Otherwise, a null pointer is returned. The possible cause is memory allocation failure.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 12