KeyEvent.KeyCodeFromString(String) KeyEvent.KeyCodeFromString(String) Method

Definition

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

[Android.Runtime.Register("keyCodeFromString", "(Ljava/lang/String;)I", "", ApiSince=12)]
public static Android.Views.Keycode KeyCodeFromString (string symbolicName);
static member KeyCodeFromString : string -> Android.Views.Keycode

Parameters

symbolicName
String String

The symbolic name of the keycode.

Returns

Remarks

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