OH_NativeXComponent_GetTouchPointTiltY

Function OH_NativeXComponent_GetTouchPointTiltY 

Source
pub unsafe extern "C" fn OH_NativeXComponent_GetTouchPointTiltY(
    component: *mut OH_NativeXComponent,
    pointIndex: u32,
    tiltY: *mut f32,
) -> i32
Expand description

Obtains the touch pointer tiltX by the ArkUI XComponent.

§Arguments

  • component - Indicates the pointer to this OH_NativeXComponent instance.

  • pointIndex - Indicates the pointer index in the touchPoints.

  • tiltY - Indicates the y tilt of the pointer.

§Returns

  • Returns the status code of the execution.

Available since API-level: 9

Version: 1.0