arkui_sys::native_animate

Function OH_ArkUI_KeyframeAnimateOption_GetIterations

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

Obtains the number of times that a keyframe animation is played.

§Arguments

option - Indicates the keyframe animation parameters.

§Returns

Returns the number of times that the animation is played.

Available since API-level: 12