Android Guides | Samples

Android.Views.MetaKeyStates Enumeration

Enumerates values returned by several types and taken as a parameter of several types.

Syntax

public enum MetaKeyStates

Remarks

Enumerates values returned by the following: and taken as a parameter of the following: .

Members

Member NameDescription
AltLeftOn

This mask is used to check whether the left ALT meta key is pressed.

AltMaskThis mask is a combination of MetaKeyStates.AltOn, MetaKeyStates.AltLeftOn and MetaKeyStates.AltRightOn.
AltOn

This mask is used to check whether one of the ALT meta keys is pressed.

AltRightOn

This mask is used to check whether the right the ALT meta key is pressed.

CapsLockOn

This mask is used to check whether the CAPS LOCK meta key is on.

CtrlLeftOn

This mask is used to check whether the left CTRL meta key is pressed.

CtrlMaskThis mask is a combination of MetaKeyStates.CtrlOn, MetaKeyStates.CtrlLeftOn and MetaKeyStates.CtrlRightOn.
CtrlOn

This mask is used to check whether one of the CTRL meta keys is pressed.

CtrlRightOn

This mask is used to check whether the right CTRL meta key is pressed.

FunctionOn

This mask is used to check whether the FUNCTION meta key is pressed.

MetaLeftOn

This mask is used to check whether the left META meta key is pressed.

MetaMaskThis mask is a combination of MetaKeyStates.MetaOn, MetaKeyStates.MetaLeftOn and MetaKeyStates.MetaRightOn.
MetaOn

This mask is used to check whether one of the META meta keys is pressed.

MetaRightOn

This mask is used to check whether the right META meta key is pressed.

NumLockOn

This mask is used to check whether the NUM LOCK meta key is on.

ScrollLockOn

This mask is used to check whether the SCROLL LOCK meta key is on.

ShiftLeftOn

This mask is used to check whether the left SHIFT meta key is pressed.

ShiftMaskThis mask is a combination of MetaKeyStates.ShiftOn, MetaKeyStates.ShiftLeftOn and MetaKeyStates.ShiftRightOn.
ShiftOn

This mask is used to check whether one of the SHIFT meta keys is pressed.

ShiftRightOn

This mask is used to check whether the right SHIFT meta key is pressed.

SymOn

This mask is used to check whether the SYM meta key is pressed.

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Views.MetaKeyStates are listed below.

See Also: Enum

Public Fields

AltLeftOnMetaKeyStates.

This mask is used to check whether the left ALT meta key is pressed.

AltMaskMetaKeyStates. This mask is a combination of MetaKeyStates.AltOn, MetaKeyStates.AltLeftOn and MetaKeyStates.AltRightOn.
AltOnMetaKeyStates.

This mask is used to check whether one of the ALT meta keys is pressed.

AltRightOnMetaKeyStates.

This mask is used to check whether the right the ALT meta key is pressed.

CapsLockOnMetaKeyStates.

This mask is used to check whether the CAPS LOCK meta key is on.

CtrlLeftOnMetaKeyStates.

This mask is used to check whether the left CTRL meta key is pressed.

CtrlMaskMetaKeyStates. This mask is a combination of MetaKeyStates.CtrlOn, MetaKeyStates.CtrlLeftOn and MetaKeyStates.CtrlRightOn.
CtrlOnMetaKeyStates.

This mask is used to check whether one of the CTRL meta keys is pressed.

CtrlRightOnMetaKeyStates.

This mask is used to check whether the right CTRL meta key is pressed.

FunctionOnMetaKeyStates.

This mask is used to check whether the FUNCTION meta key is pressed.

MetaLeftOnMetaKeyStates.

This mask is used to check whether the left META meta key is pressed.

MetaMaskMetaKeyStates. This mask is a combination of MetaKeyStates.MetaOn, MetaKeyStates.MetaLeftOn and MetaKeyStates.MetaRightOn.
MetaOnMetaKeyStates.

This mask is used to check whether one of the META meta keys is pressed.

MetaRightOnMetaKeyStates.

This mask is used to check whether the right META meta key is pressed.

NumLockOnMetaKeyStates.

This mask is used to check whether the NUM LOCK meta key is on.

ScrollLockOnMetaKeyStates.

This mask is used to check whether the SCROLL LOCK meta key is on.

ShiftLeftOnMetaKeyStates.

This mask is used to check whether the left SHIFT meta key is pressed.

ShiftMaskMetaKeyStates. This mask is a combination of MetaKeyStates.ShiftOn, MetaKeyStates.ShiftLeftOn and MetaKeyStates.ShiftRightOn.
ShiftOnMetaKeyStates.

This mask is used to check whether one of the SHIFT meta keys is pressed.

ShiftRightOnMetaKeyStates.

This mask is used to check whether the right SHIFT meta key is pressed.

SymOnMetaKeyStates.

This mask is used to check whether the SYM meta key is pressed.