OH_Input_SetRepeat

Function OH_Input_SetRepeat 

Source
pub unsafe extern "C" fn OH_Input_SetRepeat(
    hotkey: *mut Input_Hotkey,
    isRepeat: bool,
)
Available on crate feature api-14 only.
Expand description

Specifies whether to report repeated key events.

ยงArguments

  • hotkey - Shortcut key object.

  • isRepeat - Whether to report repeated key events. The value true means to report repeated key events, and the value false means the opposite.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 14