Android.Views.KeyEvent.NormalizeMetaState Method
Normalizes the specified meta state.

Syntax

[Android.Runtime.Register("normalizeMetaState", "(I)I", "")]
[return:Android.Runtime.GeneratedEnum]
public static MetaKeyStates NormalizeMetaState ([Android.Runtime.GeneratedEnum] MetaKeyStates metaState)

Parameters

metaState
The meta state.

Returns

Documentation for this section has not yet been entered.

Remarks

Normalizes the specified meta state.

The meta state is normalized such that if either the left or right modifier meta state bits are set then the result will also include the universal bit for that modifier.

If the specified meta state contains KeyEvent.META_ALT_LEFT_ON then the result will also contain KeyEvent.META_ALT_ON in addition to KeyEvent.META_ALT_LEFT_ON and the other bits that were specified in the input. The same is process is performed for shift, control and meta.

If the specified meta state contains synthetic meta states defined by Android.Text.Method.MetaKeyKeyListener, then those states are translated here and the original synthetic meta states are removed from the result. Android.Text.Method.MetaKeyKeyListener.META_CAP_LOCKED is translated to KeyEvent.META_CAPS_LOCK_ON. Android.Text.Method.MetaKeyKeyListener.META_ALT_LOCKED is translated to KeyEvent.META_ALT_ON. Android.Text.Method.MetaKeyKeyListener.META_SYM_LOCKED is translated to KeyEvent.META_SYM_ON.

Undefined meta state bits are removed.

[Android Documentation]

Requirements

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