pub unsafe extern "C" fn OH_Input_GetRepeat(
hotkey: *const Input_Hotkey,
isRepeat: *mut bool,
) -> Input_ResultAvailable on crate feature
api-14 only.Expand description
Checks whether to report repeated key events.
§Arguments
-
hotkey- Shortcut key object. -
isRepeat- Whether a key event is repeated.
§Returns
- OH_Input_GetRepeat status code, specifically,
[
INPUT_SUCCESS] if the operation is successful;
[INPUT_PARAMETER_ERROR] otherwise;
[INPUT_DEVICE_NOT_SUPPORTED] Capability not supported.
Required System Capabilities: SystemCapability.MultimodalInput.Input.Core
Available since API-level: 14