pub unsafe extern "C" fn OH_ArkUI_AnimatorOption_SetBegin(
option: *mut ArkUI_AnimatorOption,
value: f32,
) -> i32Available on crate feature
api-12 only.Expand description
Sets the interpolation start point for the animation of an animator.
Note:** This API does not take effect when the animation is a keyframe animation.
§Arguments
option - Indicates an animator parameter object.
value - Indicates the interpolation start point to set.
§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