Available on crate feature
api-12 only.Structs§
- ArkUI_
Animate Complete Callback - Defines the callback type for when the animation playback is complete.
- ArkUI_
Animate Option - Defines the animation configuration.
- ArkUI_
Animator - ArkUI_
Animator Event - Defines the animator callback event object.
- ArkUI_
Animator OnFrame Event - Defines the callback object when the animator receives a frame.
- ArkUI_
Animator Option - Defines the animator parameter object.
- ArkUI_
Curve - Defines an interpolation curve.
- ArkUI_
Expected Frame Rate Range - Defines the expected frame rate range of the animation.
- ArkUI_
Keyframe Animate Option - Defines the keyframe animation parameter object.
- ArkUI_
Native AnimateAPI_ 1 - Implements the native animation APIs provided by ArkUI.
- ArkUI_
Transition Effect - Defines the transition effect.
Functions§
- OH_
ArkUI_ ⚠Animate Option_ Create - Creates an animation configuration.
- OH_
ArkUI_ ⚠Animate Option_ Dispose - Disposes of an animation configuration.
- OH_
ArkUI_ ⚠Animate Option_ GetCurve - Obtains the animation curve.
- OH_
ArkUI_ ⚠Animate Option_ GetDelay - Obtains the animation delay, in milliseconds.
- OH_
ArkUI_ ⚠Animate Option_ GetDuration - Obtains the animation duration, in milliseconds.
- OH_
ArkUI_ ⚠Animate Option_ GetExpected Frame Rate Range - Obtains the expected frame rate range of an animation.
- OH_
ArkUI_ ⚠Animate Option_ GetI Curve - Obtains the animation curve of the animation of an animator.
- OH_
ArkUI_ ⚠Animate Option_ GetIterations - Obtains the number of times that an animation is played.
- OH_
ArkUI_ ⚠Animate Option_ GetPlay Mode - Obtains the animation playback mode.
- OH_
ArkUI_ ⚠Animate Option_ GetTempo - Obtains the animation playback speed.
- OH_
ArkUI_ ⚠Animate Option_ SetCurve - Sets the animation curve.
- OH_
ArkUI_ ⚠Animate Option_ SetDelay - Sets the animation delay.
- OH_
ArkUI_ ⚠Animate Option_ SetDuration - Sets the animation duration.
- OH_
ArkUI_ ⚠Animate Option_ SetExpected Frame Rate Range - Sets the expected frame rate range of an animation.
- OH_
ArkUI_ ⚠Animate Option_ SetI Curve - Sets the animation curve for the animation of an animator.
- OH_
ArkUI_ ⚠Animate Option_ SetIterations - Sets the number of times that an animation is played.
- OH_
ArkUI_ ⚠Animate Option_ SetPlay Mode - Sets the animation playback mode.
- OH_
ArkUI_ ⚠Animate Option_ SetTempo - Sets the animation playback speed.
- OH_
ArkUI_ ⚠Animator Event_ GetUser Data - Obtains the custom object in an animation event object.
- OH_
ArkUI_ ⚠Animator OnFrame Event_ GetUser Data - Obtains the custom object in an animation event object.
- OH_
ArkUI_ ⚠Animator OnFrame Event_ GetValue - Obtains the current progress in an animation event object.
- OH_
ArkUI_ ⚠Animator Option_ Create - Creates an animator parameter object.
- OH_
ArkUI_ ⚠Animator Option_ Dispose - Disposes of an animator parameter object.
- OH_
ArkUI_ ⚠Animator Option_ GetBegin - Obtains the interpolation start point of an animation.
- OH_
ArkUI_ ⚠Animator Option_ GetCurve - Obtains the interpolation curve of the animation of an animator.
- OH_
ArkUI_ ⚠Animator Option_ GetDelay - Obtains the delay for playing the animation of an animator.
- OH_
ArkUI_ ⚠Animator Option_ GetDirection - Obtains the playback direction of an animation.
- OH_
ArkUI_ ⚠Animator Option_ GetDuration - Obtains the duration for playing an animation.
- OH_
ArkUI_ ⚠Animator Option_ GetEnd - Obtains the interpolation end point of an animation.
- OH_
ArkUI_ ⚠Animator Option_ GetExpected Frame Rate Range - Obtains the expected frame rate range of an animation.
- OH_
ArkUI_ ⚠Animator Option_ GetFill - Obtains whether the animator animation is restored to the initial state after being executed.
- OH_
ArkUI_ ⚠Animator Option_ GetIterations - Obtains the number of times that an animation is played.
- OH_
ArkUI_ ⚠Animator Option_ GetKeyframe Curve - Obtains the interpolation curve for a keyframe in the animation of an animator.
- OH_
ArkUI_ ⚠Animator Option_ GetKeyframe Time - Obtains the keyframe time of an animation.
- OH_
ArkUI_ ⚠Animator Option_ GetKeyframe Value - Obtains the keyframe value of an animation.
- OH_
ArkUI_ ⚠Animator Option_ Register OnCancel Callback - Sets the callback invoked when the animation playback is canceled.
- OH_
ArkUI_ ⚠Animator Option_ Register OnFinish Callback - Sets the callback invoked when the animation playback is complete.
- OH_
ArkUI_ ⚠Animator Option_ Register OnFrame Callback - Sets the callback invoked when the animator receives a frame.
- OH_
ArkUI_ ⚠Animator Option_ Register OnRepeat Callback - Sets the callback invoked when the animation playback is repeated.
- OH_
ArkUI_ ⚠Animator Option_ SetBegin - Sets the interpolation start point for the animation of an animator.
- OH_
ArkUI_ ⚠Animator Option_ SetCurve - Sets the interpolation curve for the animation of an animator.
- OH_
ArkUI_ ⚠Animator Option_ SetDelay - Sets the delay for playing the animation of an animator, in milliseconds.
- OH_
ArkUI_ ⚠Animator Option_ SetDirection - Sets the playback direction for the animation of an animator.
- OH_
ArkUI_ ⚠Animator Option_ SetDuration - Sets the duration for thea nimation of an animator, in milliseconds.
- OH_
ArkUI_ ⚠Animator Option_ SetEnd - Sets the interpolation end point for the animation of an animator.
- OH_
ArkUI_ ⚠Animator Option_ SetExpected Frame Rate Range - Sets the expected frame rate range for the animation of an animator.
- OH_
ArkUI_ ⚠Animator Option_ SetFill - Sets whether the animation of an animator is restored to the initial state after being executed.
- OH_
ArkUI_ ⚠Animator Option_ SetIterations - Sets the number of times that the animation of an animator is played. The value 0 means not to play the animation, and -1 means to play the animation for an unlimited number of times.
- OH_
ArkUI_ ⚠Animator Option_ SetKeyframe - Sets the keyframe parameters for the animation of an animator.
- OH_
ArkUI_ ⚠Animator Option_ SetKeyframe Curve - Sets the keyframe curve type for the animation of an animator.
- OH_
ArkUI_ ⚠Animator_ Cancel - Cancels the animation of an animator.
- OH_
ArkUI_ ⚠Animator_ Finish - Ends the animation of an animator.
- OH_
ArkUI_ ⚠Animator_ Pause - Pauses the animation of an animator.
- OH_
ArkUI_ ⚠Animator_ Play - Starts the animation of an animator.
- OH_
ArkUI_ ⚠Animator_ Reset Animator Option - Resets the animation of an animator.
- OH_
ArkUI_ ⚠Animator_ Reverse - Plays the animation of an animator in reverse order.
- OH_
ArkUI_ ⚠Create Asymmetric Transition Effect - Creates an asymmetric transition effect.
- OH_
ArkUI_ ⚠Create Movement Transition Effect - Creates a movement object for component transition.
- OH_
ArkUI_ ⚠Create Opacity Transition Effect - Creates an opacity object for component transition.
- OH_
ArkUI_ ⚠Create Rotation Transition Effect - Creates a rotation object for component transition.
- OH_
ArkUI_ ⚠Create Scale Transition Effect - Creates a scaling object for component transition.
- OH_
ArkUI_ ⚠Create Translation Transition Effect - Creates a translation object for component transition.
- OH_
ArkUI_ ⚠Curve_ Create Cubic Bezier Curve - Creates a cubic Bezier curve.
- OH_
ArkUI_ ⚠Curve_ Create Curve ByType - Implements initialization for the interpolation curve, which is used to create an interpolation curve based on the input parameter.
- OH_
ArkUI_ ⚠Curve_ Create Custom Curve - Creates a custom curve.
- OH_
ArkUI_ ⚠Curve_ Create Interpolating Spring - Creates an interpolating spring curve animated from 0 to 1. The actual animation value is calculated based on the curve.
- OH_
ArkUI_ ⚠Curve_ Create Responsive Spring Motion - Creates a responsive spring animation curve. It is a special case of springMotion, with the only difference in the default values. It can be used together with springMotion.
- OH_
ArkUI_ ⚠Curve_ Create Spring Curve - Creates a spring curve. The curve shape is subject to the spring parameters, and the animation duration is subject to the duration parameter in animation and animateTo.
- OH_
ArkUI_ ⚠Curve_ Create Spring Motion - Creates a spring animation curve. If multiple spring animations are applied to the same attribute of an object, each animation replaces their predecessor and inherits the velocity.
- OH_
ArkUI_ ⚠Curve_ Create Steps Curve - Creates a step curve.
- OH_
ArkUI_ ⚠Curve_ Dispose Curve - Disposes of a custom curve.
- OH_
ArkUI_ ⚠Keyframe Animate Option_ Create - Obtains the keyframe animation parameters.
- OH_
ArkUI_ ⚠Keyframe Animate Option_ Dispose - Disposes of the keyframe animation parameter object.
- OH_
ArkUI_ ⚠Keyframe Animate Option_ GetCurve - Obtains the animation curve of a specific state in a keyframe animation.
- OH_
ArkUI_ ⚠Keyframe Animate Option_ GetDelay - Obtains the overall delay of a keyframe animation
- OH_
ArkUI_ ⚠Keyframe Animate Option_ GetDuration - Obtains the duration of a specific state in a keyframe animation.
- OH_
ArkUI_ ⚠Keyframe Animate Option_ GetExpected Frame Rate api-19 - Obtains the expected frame rate range of a keyframe animation configuration.
- OH_
ArkUI_ ⚠Keyframe Animate Option_ GetIterations - Obtains the number of times that a keyframe animation is played.
- OH_
ArkUI_ ⚠Keyframe Animate Option_ Register OnEvent Callback - Sets the closure function of the state at the time of the keyframe, that is, the state to be reached at the time of the keyframe.
- OH_
ArkUI_ ⚠Keyframe Animate Option_ Register OnFinish Callback - Sets the callback invoked when the keyframe animation playback is complete. This API is called after the keyframe animation has played for the specified number of times.
- OH_
ArkUI_ ⚠Keyframe Animate Option_ SetCurve - Sets the animation curve for a specific keyframe in a keyframe animation.
- OH_
ArkUI_ ⚠Keyframe Animate Option_ SetDelay - Sets the overall delay of a keyframe animation, in milliseconds. By default, the keyframe animation is played without delay.
- OH_
ArkUI_ ⚠Keyframe Animate Option_ SetDuration - Sets the duration of a keyframe animation, in milliseconds.
- OH_
ArkUI_ ⚠Keyframe Animate Option_ SetExpected Frame Rate api-19 - Sets the expected frame rate range of a keyframe animation.
- OH_
ArkUI_ ⚠Keyframe Animate Option_ SetIterations - Sets the number of times that the keyframe animation is played. By default, the animation is played once. The value -1 indicates that the animation is played for an unlimited number of times. The value 0 indicates that there is no animation.
- OH_
ArkUI_ ⚠Transition Effect_ Combine - Sets a combination of transition effects.
- OH_
ArkUI_ ⚠Transition Effect_ Dispose - Disposes of a transition effect.
- OH_
ArkUI_ ⚠Transition Effect_ SetAnimation - Sets transition effect animation settings.
Type Aliases§
- ArkUI_
Animator Handle - Defines the pointer to an animator object.
- ArkUI_
Curve Handle - Defines the pointer to an interpolation curve.