Skip to main content

OH_ArkUI_Swiper_FinishAnimation

Function OH_ArkUI_Swiper_FinishAnimation 

Source
pub unsafe extern "C" fn OH_ArkUI_Swiper_FinishAnimation(
    node: ArkUI_NodeHandle,
) -> i32
Available on crate features api-12 and api-22 only.
Expand description

Stop the animation being executed by the Swiper node.

§Arguments

  • node - ArkUI_NodeHandle pointer.

§Returns

  • Error code. [ARKUI_ERROR_CODE_NO_ERROR] Success. [ARKUI_ERROR_CODE_PARAM_INVALID] Function parameter exception.

Available since API-level: 22