Animation.StartTime 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.
When this animation should start. -or- When this animation should start.
public virtual long StartTime { [Android.Runtime.Register("getStartTime", "()J", "GetGetStartTimeHandler")] get; [Android.Runtime.Register("setStartTime", "(J)V", "GetSetStartTime_JHandler")] set; }
[<get: Android.Runtime.Register("getStartTime", "()J", "GetGetStartTimeHandler")>]
[<set: Android.Runtime.Register("setStartTime", "(J)V", "GetSetStartTime_JHandler")>]
member this.StartTime : int64 with get, set
Property Value
the time in milliseconds when the animation should start or
#START_ON_FIRST_FRAME
- Attributes
Remarks
Property getter documentation:
When this animation should start. If the animation has not startet yet, this method might return #START_ON_FIRST_FRAME
.
Java documentation for android.view.animation.Animation.getStartTime()
.
Property setter documentation:
When this animation should start. When the start time is set to #START_ON_FIRST_FRAME
, the animation will start the first time #getTransformation(long, Transformation)
is invoked. The time passed to this method should be obtained by calling AnimationUtils#currentAnimationTimeMillis()
instead of System#currentTimeMillis()
.
Java documentation for android.view.animation.Animation.setStartTime(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.