OH_ArkUI_AnimateOption_SetDuration

Function OH_ArkUI_AnimateOption_SetDuration 

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

Sets the animation duration.

ยงArguments

  • option - Indicates the pointer to an animation configuration.

  • value - Indicates the duration, in milliseconds.

Available since API-level: 12