Share via


VerifiedKeyEvent.RepeatCount Property

Definition

Retrieve the repeat count of the event.

public int RepeatCount { [Android.Runtime.Register("getRepeatCount", "()I", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getRepeatCount", "()I", "", ApiSince=30)>]
member this.RepeatCount : int

Property Value

Attributes

Remarks

Retrieve the repeat count of the event. For key down events, this is the number of times the key has repeated with the first down starting at 0 and counting up from there. For key up events, this is always equal to zero. For multiple key events, this is the number of down/up pairs that have occurred.

Java documentation for android.view.VerifiedKeyEvent.getRepeatCount().

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