Share via


NumberPicker.SetOnLongPressUpdateInterval(Int64) Method

Definition

Sets the speed at which the numbers be incremented and decremented when the up and down buttons are long pressed respectively.

[Android.Runtime.Register("setOnLongPressUpdateInterval", "(J)V", "GetSetOnLongPressUpdateInterval_JHandler")]
public virtual void SetOnLongPressUpdateInterval (long intervalMillis);
[<Android.Runtime.Register("setOnLongPressUpdateInterval", "(J)V", "GetSetOnLongPressUpdateInterval_JHandler")>]
abstract member SetOnLongPressUpdateInterval : int64 -> unit
override this.SetOnLongPressUpdateInterval : int64 -> unit

Parameters

intervalMillis
Int64

The speed (in milliseconds) at which the numbers will be incremented and decremented.

Attributes

Remarks

Sets the speed at which the numbers be incremented and decremented when the up and down buttons are long pressed respectively.

The default value is 300 ms.

Java documentation for android.widget.NumberPicker.setOnLongPressUpdateInterval(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.

Applies to