Animation.ComputeDurationHint Method
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.
Compute a hint at how long the entire animation may last, in milliseconds.
[Android.Runtime.Register("computeDurationHint", "()J", "GetComputeDurationHintHandler")]
public virtual long ComputeDurationHint ();
[<Android.Runtime.Register("computeDurationHint", "()J", "GetComputeDurationHintHandler")>]
abstract member ComputeDurationHint : unit -> int64
override this.ComputeDurationHint : unit -> int64
Returns
- Attributes
Remarks
Compute a hint at how long the entire animation may last, in milliseconds. Animations can be written to cause themselves to run for a different duration than what is computed here, but generally this should be accurate.
Java documentation for android.view.animation.Animation.computeDurationHint()
.
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.