Sdílet prostřednictvím


AnimationDrawable.GetDuration(Int32) Method

Definition

[Android.Runtime.Register("getDuration", "(I)I", "GetGetDuration_IHandler")]
public virtual int GetDuration (int i);
[<Android.Runtime.Register("getDuration", "(I)I", "GetGetDuration_IHandler")>]
abstract member GetDuration : int -> int
override this.GetDuration : int -> int

Parameters

i
Int32

Returns

The duration in milliseconds of the frame at the specified index

Attributes

Remarks

Java documentation for android.graphics.drawable.AnimationDrawable.getDuration(int).

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