pub unsafe extern "C" fn OH_Input_CreateKeyState() -> *mut Input_KeyStateAvailable on crate feature
api-12 only.Expand description
Creates a key status enumeration object.
ยงReturns
- Returns an
Input_KeyStatepointer 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