KeyEvent.RepeatCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieve the repeat count of the event.
public int RepeatCount { [Android.Runtime.Register("getRepeatCount", "()I", "")] get; }
[<get: Android.Runtime.Register("getRepeatCount", "()I", "")>]
member this.RepeatCount : int
Property Value
The number of times the key has repeated.
- 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.KeyEvent.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.