Android.Views.KeyEvent.KeyCodeToString Method
Returns a string that represents the symbolic name of the specified keycode such as "KEYCODE_A", "KEYCODE_DPAD_UP", or an equivalent numeric constant such as "1001" if unknown.

Syntax

[Android.Runtime.Register("keyCodeToString", "(I)Ljava/lang/String;", "")]
public static string KeyCodeToString ([Android.Runtime.GeneratedEnum] Keycode keyCode)

See Also

KeyCharacterMap.GetDisplayLabel(Keycode)

Parameters

keyCode
The key code.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a string that represents the symbolic name of the specified keycode such as "KEYCODE_A", "KEYCODE_DPAD_UP", or an equivalent numeric constant such as "1001" if unknown.

[Android Documentation]

Requirements

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