Android.Views.KeyEvent.GetUnicodeChar Method
Gets the Unicode character generated by the specified key and meta key state combination.

Syntax

[Android.Runtime.Register("getUnicodeChar", "(I)I", "GetGetUnicodeChar_IHandler")]
public virtual int GetUnicodeChar ([Android.Runtime.GeneratedEnum] MetaKeyStates meta)

Parameters

metaState
The meta key modifier state.

Returns

Documentation for this section has not yet been entered.

Remarks

Gets the Unicode character generated by the specified key and meta key state combination.

Returns the Unicode character that the specified key would produce when the specified meta bits (see Android.Text.Method.MetaKeyKeyListener) were active.

Returns 0 if the key is not one that is used to type Unicode characters.

If the return value has bit KeyCharacterMap.CombiningAccent set, the key is a "dead key" that should be combined with another to actually produce a character -- see KeyCharacterMap.GetDeadChar(int, System.Int32) -- after masking with KeyCharacterMap.CombiningAccentMask.

[Android Documentation]

Requirements

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