arkui_sys::native_animate

Function OH_ArkUI_AnimatorOption_GetDirection

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

Obtains the playback direction of an animation.

§Arguments

option - Indicates the animator parameters.

§Returns

Returns the animation playback direction.

Available since API-level: 12