OH_Input_SetKeySwitch

Function OH_Input_SetKeySwitch 

Source
pub unsafe extern "C" fn OH_Input_SetKeySwitch(
    keyState: *mut Input_KeyState,
    keySwitch: i32,
)
Available on crate feature api-12 only.
Expand description

Sets the key switch of the key status enumeration object.

ยงArguments

  • keyState - Key status enumeration object.

  • keySwitch - Key switch of the key status enumeration object.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 12