OH_ArkUI_AnimatorOption_GetIterations

Function OH_ArkUI_AnimatorOption_GetIterations 

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

Obtains the number of times that an animation is played.

§Arguments

  • option - Animator animation parameter.

§Returns

  • Returns the number of times that the animation is played.

Available since API-level: 12