Animation.Duration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
How long this animation should last -or- How long this animation should last.
public virtual long Duration { [Android.Runtime.Register("getDuration", "()J", "GetGetDurationHandler")] get; [Android.Runtime.Register("setDuration", "(J)V", "GetSetDuration_JHandler")] set; }
[<get: Android.Runtime.Register("getDuration", "()J", "GetGetDurationHandler")>]
[<set: Android.Runtime.Register("setDuration", "(J)V", "GetSetDuration_JHandler")>]
member this.Duration : int64 with get, set
Property Value
the duration in milliseconds of the animation
- Attributes
Exceptions
if the duration is
Remarks
Property getter documentation:
How long this animation should last
Java documentation for android.view.animation.Animation.getDuration()
.
Property setter documentation:
How long this animation should last. The duration cannot be negative.
Java documentation for android.view.animation.Animation.setDuration(long)
.
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.