pub unsafe extern "C" fn OH_NativeXComponent_GetKeyEvent(
component: *mut OH_NativeXComponent,
keyEvent: *mut *mut OH_NativeXComponent_KeyEvent,
) -> i32Expand description
Obtains the key event dispatched by the ArkUI XComponent.
§Arguments
-
component- Indicates the pointer to this OH_NativeXComponent instance. -
keyEvent- Indicates the pointer to pointer of OH_NativeXComponent_KeyEvent instance.
§Returns
- Returns the status code of the execution.
Available since API-level: 10
Version: 1.0