Share via


Scroller.Duration Property

Definition

Returns how long the scroll event will take, in milliseconds.

public int Duration { [Android.Runtime.Register("getDuration", "()I", "")] get; }
[<get: Android.Runtime.Register("getDuration", "()I", "")>]
member this.Duration : int

Property Value

The duration of the scroll in milliseconds.

Attributes

Remarks

Returns how long the scroll event will take, in milliseconds.

Java documentation for android.widget.Scroller.getDuration().

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