Compartilhar via


AnimationUtils.CurrentAnimationTimeMillis Method

Definition

Returns the current animation time in milliseconds.

[Android.Runtime.Register("currentAnimationTimeMillis", "()J", "")]
public static long CurrentAnimationTimeMillis ();
[<Android.Runtime.Register("currentAnimationTimeMillis", "()J", "")>]
static member CurrentAnimationTimeMillis : unit -> int64

Returns

the current animation time in milliseconds

Attributes

Remarks

Returns the current animation time in milliseconds. This time should be used when invoking Animation#setStartTime(long). Refer to android.os.SystemClock for more information about the different available clocks. The clock used by this method is <em>not</em> the "wall" clock (it is not System#currentTimeMillis).

Java documentation for android.view.animation.AnimationUtils.currentAnimationTimeMillis().

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

See also