OH_ArkUI_AnimateOption_SetTempo

Function OH_ArkUI_AnimateOption_SetTempo 

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

Sets the animation playback speed.

ยงArguments

  • option - Indicates the pointer to an animation configuration.

  • value - Indicates the animation playback speed.

Available since API-level: 12