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 | Represents the event change in the system windows shown on the screen. This event type should only be dispatched by the system. Android reference for 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. |
| ViewContextClicked | 8388608 | Represents the event of a context click on a View. See AccessibilityNodeInfo.AccessibilityAction.ACTION_CONTEXT_CLICK for more details. Android reference for 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. |
| AssistReadingContext | 16777216 | Represents the event of the assistant currently reading the users screen context. Android reference for 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. |
| SpeechStateChange | 33554432 | Represents a change in the speech state defined by the speech state change types. A change in the speech state occurs when an application wants to signal that it is either speaking or listening for human speech. This event helps avoid conflicts where two applications want to speak or one listens when another speaks. When sending this event, the sender should ensure that the accompanying state change types make sense. For example, the sender should not send SPEECH_STATE_SPEAKING_START and SPEECH_STATE_SPEAKING_END together. Android reference for 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. |
| ViewTargetedByScroll | 67108864 | Represents the event of a scroll having completed and brought the target node on screen. Android reference for 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. |
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.