OH_ArkUI_KeyEvent_SetConsumed

Function OH_ArkUI_KeyEvent_SetConsumed 

Source
pub unsafe extern "C" fn OH_ArkUI_KeyEvent_SetConsumed(
    event: *const ArkUI_UIInputEvent,
    isConsumed: bool,
)
Available on crate feature api-14 only.
Expand description

Sets whether a key event is consumed in the key event callback.

ยงArguments

  • event - Pointer to an ArkUI_UIInputEvent object.

  • isConsumed - Whether the event is consumed.

Available since API-level: 14