arkui_sys::native_animate

Function OH_ArkUI_AnimateOption_SetIterations

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

Sets the number of times that an animation is played.

ยงArguments

option - Indicates the pointer to an animation configuration.

value - Indicates the number of times that the animation is played.

Available since API-level: 12