OH_Input_CreateHotkey

Function OH_Input_CreateHotkey 

Source
pub unsafe extern "C" fn OH_Input_CreateHotkey() -> *mut Input_Hotkey
Available on crate feature api-14 only.
Expand description

Creates a hot key object.

ยงReturns

  • Returns an Input_Hotkey 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: 14