Share via


Transition.Duration Property

Definition

Returns the duration set on this transition.

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

Property Value

The duration set on this transition, in milliseconds, if one has been set, otherwise returns a negative number.

Attributes

Remarks

Returns the duration set on this transition. If no duration has been set, the returned value will be negative, indicating that resulting animators will retain their own durations.

Java documentation for android.transition.Transition.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