共用方式為


KeyEvent.ModifierMetaStateMask Property

Definition

Gets a mask that includes all valid modifier key meta state bits.

public static Android.Views.MetaKeyStates ModifierMetaStateMask { [Android.Runtime.Register("getModifierMetaStateMask", "()I", "")] get; }
[<get: Android.Runtime.Register("getModifierMetaStateMask", "()I", "")>]
static member ModifierMetaStateMask : Android.Views.MetaKeyStates

Property Value

The modifier meta state mask which is a combination of #META_SHIFT_ON, #META_SHIFT_LEFT_ON, #META_SHIFT_RIGHT_ON, #META_ALT_ON, #META_ALT_LEFT_ON, #META_ALT_RIGHT_ON, #META_CTRL_ON, #META_CTRL_LEFT_ON, #META_CTRL_RIGHT_ON, #META_META_ON, #META_META_LEFT_ON, #META_META_RIGHT_ON, #META_SYM_ON, #META_FUNCTION_ON.

Attributes

Remarks

Gets a mask that includes all valid modifier key meta state bits.

For the purposes of this function, #KEYCODE_CAPS_LOCK, #KEYCODE_SCROLL_LOCK, and #KEYCODE_NUM_LOCK are not considered modifier keys. Consequently, the mask specifically excludes #META_CAPS_LOCK_ON, #META_SCROLL_LOCK_ON and #META_NUM_LOCK_ON.

Java documentation for android.view.KeyEvent.getModifierMetaStateMask().

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