pub unsafe extern "C" fn OH_ArkUI_KeyEvent_GetUnicode(
event: *const ArkUI_UIInputEvent,
) -> u32Available on crate feature
api-14 only.Expand description
Obtains the Unicode value associated with a key event. Non-space basic Latin characters in the 0x0021-0x007E range are supported. Characters with a value of 0 are not supported. In the case of key combination, this API returns the Unicode value of the key corresponding to the key event.
§Arguments
event- Pointer to an ArkUI_UIInputEvent object.
§Returns
- Returns the Unicode value.
Available since API-level: 14