arkui_sys::native_animate

Function OH_ArkUI_AnimateOption_SetPlayMode

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

Sets the animation playback mode.

ยงArguments

option - Indicates the pointer to an animation configuration.

value - Indicates the animation playback mode.

Available since API-level: 12