OH_NativeXComponent_GetTouchPointToolType

Function OH_NativeXComponent_GetTouchPointToolType 

Source
pub unsafe extern "C" fn OH_NativeXComponent_GetTouchPointToolType(
    component: *mut OH_NativeXComponent,
    pointIndex: u32,
    toolType: *mut OH_NativeXComponent_TouchPointToolType,
) -> i32
Expand description

Obtains the touch pointer tool type by the ArkUI XComponent.

§Arguments

  • component - Indicates the pointer to this OH_NativeXComponent instance.

  • pointIndex - Indicates the pointer index in the touchPoints.

  • toolType - Indicates the tool Type of the pointer.

§Returns

  • Returns the status code of the execution.

Available since API-level: 9

Version: 1.0