Function ohos_sys::ace::xcomponent::native_interface_xcomponent::OH_NativeXComponent_GetKeyEvent
source · pub unsafe extern "C" fn OH_NativeXComponent_GetKeyEvent(
component: *mut OH_NativeXComponent,
keyEvent: *mut *mut OH_NativeXComponent_KeyEvent
) -> i32Expand description
@brief Obtains the key event dispatched by the ArkUI XComponent.
@param component Indicates the pointer to this OH_NativeXComponent instance. @param keyEvent Indicates the pointer to pointer of OH_NativeXComponent_KeyEvent instance. @return Returns the status code of the execution. @since 10 @version 1.0