pub unsafe extern "C" fn OH_ArkUI_AnimatorOption_SetFill(
option: *mut ArkUI_AnimatorOption,
value: ArkUI_AnimationFillMode,
) -> i32Available on crate feature
api-12 only.Expand description
Sets whether the animation of an animator is restored to the initial state after being executed.
§Arguments
-
option- Indicates an animator parameter object. -
value- Indicates whether to restore the animation to the initial state after the animation is executed.
§Returns
- Returns the error code.
Returns [
ARKUI_ERROR_CODE_NO_ERROR] if the operation is successful. Returns [ARKUI_ERROR_CODE_PARAM_INVALID] if a parameter error occurs.
Available since API-level: 12