Udostępnij za pośrednictwem


AnimatorSet.Duration Property

Definition

Gets the length of each of the child animations of this AnimatorSet.

public override long Duration { [Android.Runtime.Register("getDuration", "()J", "")] get; }
[<get: Android.Runtime.Register("getDuration", "()J", "")>]
member this.Duration : int64

Property Value

The length of the animation, in milliseconds, of each of the child animations of this AnimatorSet.

Attributes

Remarks

Gets the length of each of the child animations of this AnimatorSet. This value may be less than 0, which indicates that no duration has been set on this AnimatorSet and each of the child animations will use their own duration.

Java documentation for android.animation.AnimatorSet.getDuration().

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