Android.Views.KeyEvent.MetaStateHasNoModifiers Method
Returns true if no modifiers keys are pressed according to the specified meta state.

Syntax

[Android.Runtime.Register("metaStateHasNoModifiers", "(I)Z", "")]
public static bool MetaStateHasNoModifiers ([Android.Runtime.GeneratedEnum] MetaKeyStates metaState)

See Also

KeyEvent.HasNoModifiers

Parameters

metaState
The meta state to consider.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns true if no modifiers keys are pressed according to the specified meta state.

For the purposes of this function, KeyEvent.KEYCODE_CAPS_LOCK, KeyEvent.KEYCODE_SCROLL_LOCK, and KeyEvent.KEYCODE_NUM_LOCK are not considered modifier keys. Consequently, this function ignores KeyEvent.META_CAPS_LOCK_ON, KeyEvent.META_SCROLL_LOCK_ON and KeyEvent.META_NUM_LOCK_ON.

The meta state is normalized prior to comparison using KeyEvent.NormalizeMetaState(MetaKeyStates).

[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