OH_Input_DestroyAllSystemHotkeys

Function OH_Input_DestroyAllSystemHotkeys 

Source
pub unsafe extern "C" fn OH_Input_DestroyAllSystemHotkeys(
    hotkeys: *mut *mut Input_Hotkey,
    count: i32,
)
Available on crate feature api-14 only.
Expand description

Destroys an array of Input_Hotkey instances and reclaims memory.

ยงArguments

  • hotkeys - Pointer to an array of Input_Hotkey instances created by the OH_Input_CreateAllSystemHotkeys method.

  • count - Count of the array to be destroyed, which must be the same as the number of system shortcut keys.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 14