OH_NativeXComponent_GetTouchEvent

Function OH_NativeXComponent_GetTouchEvent 

Source
pub unsafe extern "C" fn OH_NativeXComponent_GetTouchEvent(
    component: *mut OH_NativeXComponent,
    window: *const c_void,
    touchEvent: *mut OH_NativeXComponent_TouchEvent,
) -> i32
Expand description

Obtains the touch event dispatched by the ArkUI XComponent.

§Arguments

  • component - Indicates the pointer to this OH_NativeXComponent instance.

  • window - Indicates the native window handler.

  • touchEvent - Indicates the pointer to the current touch event.

§Returns

  • Returns the status code of the execution.

Available since API-level: 8

Version: 1.0