OH_ArkUI_KeyEvent_GetKeyIntensionCode

Function OH_ArkUI_KeyEvent_GetKeyIntensionCode 

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

Obtains the intention code associated with a key event.

§Arguments

  • event - Pointer to an ArkUI_UIInputEvent object.

§Returns

  • Returns the intention code associated with the key event.

Available since API-level: 14