OH_ArkUI_Animator_ResetAnimatorOption

Function OH_ArkUI_Animator_ResetAnimatorOption 

Source
pub unsafe extern "C" fn OH_ArkUI_Animator_ResetAnimatorOption(
    animatorHandle: ArkUI_AnimatorHandle,
    option: *mut ArkUI_AnimatorOption,
) -> i32
Available on crate feature api-12 only.
Expand description

Resets the animation of an animator.

§Arguments

  • animatorHandle - Indicates an animator object.

  • option - Indicates the animator parameters.

§Returns

  • Returns the error code. Returns [ARKUI_ERROR_CODE_NO_ERROR] if the operation is successful. Returns [ARKUI_ERROR_CODE_PARAM_INVALID] if a parameter error occurs.

Available since API-level: 12