Android Guides | Samples

Android.Widget.NumberPicker.SetOnLongPressUpdateInterval Method

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

Syntax

[Android.Runtime.Register("setOnLongPressUpdateInterval", "(J)V", "GetSetOnLongPressUpdateInterval_JHandler")]
public virtual Void SetOnLongPressUpdateInterval (Int64 intervalMillis)

Parameters

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

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.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11