Aracılığıyla paylaş


Animator.TotalDuration Property

Definition

Gets the total duration of the animation, accounting for animation sequences, start delay, and repeating.

public virtual long TotalDuration { [Android.Runtime.Register("getTotalDuration", "()J", "GetGetTotalDurationHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getTotalDuration", "()J", "GetGetTotalDurationHandler", ApiSince=24)>]
member this.TotalDuration : int64

Property Value

Total time an animation takes to finish, starting from the time #start() is called. #DURATION_INFINITE will be returned if the animation or any child animation repeats infinite times.

Attributes

Remarks

Gets the total duration of the animation, accounting for animation sequences, start delay, and repeating. Return #DURATION_INFINITE if the duration is infinite.

Java documentation for android.animation.Animator.getTotalDuration().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to