KeyEvent.KeyCode 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 key code of the key event.
public Android.Views.Keycode KeyCode { [Android.Runtime.Register("getKeyCode", "()I", "")] get; }
[<get: Android.Runtime.Register("getKeyCode", "()I", "")>]
member this.KeyCode : Android.Views.Keycode
Property Value
The key code of the event.
- Attributes
Remarks
Retrieve the key code of the key event. This is the physical key that was pressed, <em>not</em> the Unicode character.
Java documentation for android.view.KeyEvent.getKeyCode()
.
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.