Skip to main content

OH_NativeXComponent_GetHistoricalPoints

Function OH_NativeXComponent_GetHistoricalPoints 

Source
pub unsafe extern "C" fn OH_NativeXComponent_GetHistoricalPoints(
    component: *mut OH_NativeXComponent,
    window: *const c_void,
    size: *mut i32,
    historicalPoints: *mut *mut OH_NativeXComponent_HistoricalPoint,
) -> 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.

  • size - Length of the historical touch point array.

  • historicalPoints - Pointer to the historical touch point array.

§Returns

  • Returns the status code of the execution.

Available since API-level: 10

Version: 1.0