pub unsafe extern "C" fn OH_Input_CreateAllSystemHotkeys(
count: i32,
) -> *mut *mut Input_HotkeyAvailable on crate feature
api-14 only.Expand description
Creates an array of Input_Hotkey instances.
§Arguments
count- Number ofInput_Hotkeyinstances to be created. The count must be the same as the number of system shortcut keys.
§Returns
- Returns a pointer to an array of
Input_Hotkeyinstances if the operation is successful. If the operation fails, a null pointer is returned. The possible cause is memory allocation failure or count is not equal to the number of system hotkeys.
Required System Capabilities: SystemCapability.MultimodalInput.Input.Core
Available since API-level: 14