OH_ArkUI_FocusSetKeyProcessingMode

Function OH_ArkUI_FocusSetKeyProcessingMode 

Source
pub unsafe extern "C" fn OH_ArkUI_FocusSetKeyProcessingMode(
    uiContext: ArkUI_ContextHandle,
    mode: ArkUI_KeyProcessingMode,
)
Available on crate feature api-15 only.
Expand description

Set the priority of key event processing when component cannot handle the key event.

ยงArguments

  • uiContext - Indicates the pointer to a UI instance.

  • mode - Indicates the key processing mode.

Available since API-level: 15