EventTypes Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by several types and taken as a parameter of several types.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum EventTypes
[<System.Flags>]
type EventTypes =
- Inheritance
-
EventTypes
- Attributes
Fields
Name | Value | Description |
---|---|---|
AllMask | -1 | Mask for AccessibilityEventall types. |
ViewClicked | 1 | Represents the event of clicking on a View like Button, CompoundButton, etc. |
ViewLongClicked | 2 | Represents the event of long clicking on a View like Button, CompoundButton, etc. |
ViewSelected | 4 | Represents the event of selecting an item usually in the context of an AdapterView. |
ViewFocused | 8 | Represents the event of setting input focus of a View. |
ViewTextChanged | 16 | Represents the event of changing the text of an EditText. |
WindowStateChanged | 32 | Represents the event of opening a PopupWindow, Menu, Dialog, etc. |
NotificationStateChanged | 64 | Represents the event showing a Notification. |
ViewHoverEnter | 128 | Represents the event of a hover enter over a View. |
ViewHoverExit | 256 | Represents the event of a hover exit over a View. |
TouchExplorationGestureStart | 512 | Represents the event of starting a touch exploration gesture. |
TouchExplorationGestureEnd | 1024 | Represents the event of ending a touch exploration gesture. |
WindowContentChanged | 2048 | Represents the event of changing the content of a window and more specifically the sub-tree rooted at the event's source. |
ViewScrolled | 4096 | Represents the event of scrolling a view. |
ViewTextSelectionChanged | 8192 | Represents the event of changing the selection in an EditText. |
Announcement | 16384 | Represents the event of an application making an announcement. |
ViewAccessibilityFocused | 32768 | Represents the event of gaining accessibility focus. |
ViewAccessibilityFocusCleared | 65536 | Represents the event of clearing accessibility focus. |
ViewTextTraversedAtMovementGranularity | 131072 | Represents the event of traversing the text of a view at a given movement granularity. |
GestureDetectionStart | 262144 | Represents the event of beginning gesture detection. |
GestureDetectionEnd | 524288 | Represents the event of ending gesture detection. |
TouchInteractionStart | 1048576 | Represents the event of the user starting to touch the screen. |
TouchInteractionEnd | 2097152 | Represents the event of the user ending to touch the screen. |
WindowsChanged | 4194304 | |
ViewContextClicked | 8388608 | |
AssistReadingContext | 16777216 | |
SpeechStateChange | 33554432 | |
ViewTargetedByScroll | 67108864 |
Remarks
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.