Android.Views.KeyEvent.KeyCodeFromString Method
Gets a keycode by its symbolic name such as "KEYCODE_A" or an equivalent numeric constant such as "1001".

Syntax

[Android.Runtime.Register("keyCodeFromString", "(Ljava/lang/String;)I", "")]
[return:Android.Runtime.GeneratedEnum]
public static Keycode KeyCodeFromString (string symbolicName)

Parameters

symbolicName
The symbolic name of the keycode.

Returns

Documentation for this section has not yet been entered.

Remarks

Gets a keycode by its symbolic name such as "KEYCODE_A" or an equivalent numeric constant such as "1001".

[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