Sdílet prostřednictvím


AccessibilityEvent Class

Definition

This class represents accessibility events that are sent by the system when something notable happens in the user interface.

[Android.Runtime.Register("android/view/accessibility/AccessibilityEvent", DoNotGenerateAcw=true)]
public sealed class AccessibilityEvent : Android.Views.Accessibility.AccessibilityRecord, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/view/accessibility/AccessibilityEvent", DoNotGenerateAcw=true)>]
type AccessibilityEvent = class
    inherit AccessibilityRecord
    interface IParcelable
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Inheritance
AccessibilityEvent
Attributes
Implements

Remarks

This class represents accessibility events that are sent by the system when something notable happens in the user interface. For example, when a android.widget.Button is clicked, a android.view.View is focused, etc.

An accessibility event is fired by an individual view which populates the event with data for its state and requests from its parent to send the event to interested parties. The parent can optionally modify or even block the event based on its broader understanding of the user interface's context.

The main purpose of an accessibility event is to communicate changes in the UI to an android.accessibilityservice.AccessibilityService. If needed, the service may then inspect the user interface by examining the View hierarchy through the event's #getSource() source, as represented by a tree of AccessibilityNodeInfos (snapshot of a View state) which can be used for exploring the window content. Note that the privilege for accessing an event's source, thus the window content, has to be explicitly requested. For more details refer to android.accessibilityservice.AccessibilityService. If an accessibility service has not requested to retrieve the window content the event will not contain reference to its source. <strong>Note: </strong> for events of type #TYPE_NOTIFICATION_STATE_CHANGED the source is never available, and Views that set android.view.View#isAccessibilityDataSensitive() may not populate all event properties on events sent from higher up in the view hierarchy.

This class represents various semantically different accessibility event types. Each event type has an associated set of related properties. In other words, each event type is characterized via a subset of the properties exposed by this class. For each event type there is a corresponding constant defined in this class. Follows a specification of the event types and their associated properties:

<div class="special reference"> <h3>Developer Guides</h3>

For more information about creating and processing AccessibilityEvents, read the Accessibility developer guide.

</div>

<b>VIEW TYPES</b></br>

<b>View clicked</b> - represents the event of clicking on a android.view.View like android.widget.Button, android.widget.CompoundButton, etc.</br> <em>Type:</em>#TYPE_VIEW_CLICKED</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> <li>#getSource() - The source info (for registered clients).</li> <li>#getClassName() - The class name of the source.</li> <li>#getPackageName() - The package name of the source.</li> <li>#getEventTime() - The event time.</li> </ul>

<b>View long clicked</b> - represents the event of long clicking on a android.view.View like android.widget.Button, android.widget.CompoundButton, etc </br> <em>Type:</em>#TYPE_VIEW_LONG_CLICKED</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> <li>#getSource() - The source info (for registered clients).</li> <li>#getClassName() - The class name of the source.</li> <li>#getPackageName() - The package name of the source.</li> <li>#getEventTime() - The event time.</li> </ul>

<b>View selected</b> - represents the event of selecting an item usually in the context of an android.widget.AdapterView.</br> <em>Type:</em> #TYPE_VIEW_SELECTED</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> <li>#getSource() - The source info (for registered clients).</li> <li>#getClassName() - The class name of the source.</li> <li>#getPackageName() - The package name of the source.</li> <li>#getEventTime() - The event time.</li> </ul>

<b>View focused</b> - represents the event of focusing a android.view.View.</br> <em>Type:</em> #TYPE_VIEW_FOCUSED</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> <li>#getSource() - The source info (for registered clients).</li> <li>#getClassName() - The class name of the source.</li> <li>#getPackageName() - The package name of the source.</li> <li>#getEventTime() - The event time.</li> </ul>

<b>View text changed</b> - represents the event of changing the text of an android.widget.EditText.</br> <em>Type:</em> #TYPE_VIEW_TEXT_CHANGED</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> <li>#getSource() - The source info (for registered clients).</li> <li>#getClassName() - The class name of the source.</li> <li>#getPackageName() - The package name of the source.</li> <li>#getEventTime() - The event time.</li> <li>#getText() - The new text of the source.</li> <li>#getBeforeText() - The text of the source before the change.</li> <li>#getFromIndex() - The text change start index.</li> <li>#getAddedCount() - The number of added characters.</li> <li>#getRemovedCount() - The number of removed characters.</li> </ul>

<b>View text selection changed</b> - represents the event of changing the text selection of an android.widget.EditText.</br> <em>Type:</em> #TYPE_VIEW_TEXT_SELECTION_CHANGED</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> <li>#getSource() - The source info (for registered clients).</li> <li>#getClassName() - The class name of the source.</li> <li>#getPackageName() - The package name of the source.</li> <li>#getEventTime() - The event time.</li> </ul>

<b>View text traversed at movement granularity</b> - represents the event of traversing the text of a view at a given granularity. For example, moving to the next word.</br> <em>Type:</em> #TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> <li>#getSource() - The source info (for registered clients).</li> <li>#getClassName() - The class name of the source.</li> <li>#getPackageName() - The package name of the source.</li> <li>#getEventTime() - The event time.</li> <li>#getMovementGranularity() - Sets the granularity at which a view's text was traversed.</li> <li>#getText() - The text of the source's sub-tree.</li> <li>#getFromIndex() - The start the text that was skipped over in this movement. This is the starting point when moving forward through the text, but not when moving back.</li> <li>#getToIndex() - The end of the text that was skipped over in this movement. This is the ending point when moving forward through the text, but not when moving back.</li> <li>#getAction() - Gets traversal action which specifies the direction.</li> </ul> </p>

<b>View scrolled</b> - represents the event of scrolling a view. </br> <em>Type:</em> #TYPE_VIEW_SCROLLED</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> <li>#getSource() - The source info (for registered clients).</li> <li>#getClassName() - The class name of the source.</li> <li>#getPackageName() - The package name of the source.</li> <li>#getEventTime() - The event time.</li> <li>#getScrollDeltaX() - The difference in the horizontal position.</li> <li>#getScrollDeltaY() - The difference in the vertical position.</li> </ul>

<b>TRANSITION TYPES</b></br>

<b>Window state changed</b> - represents the event of a change to a section of the user interface that is visually distinct. Should be sent from either the root view of a window or from a view that is marked as a pane android.view.View#setAccessibilityPaneTitle(CharSequence). Note that changes to true windows are represented by #TYPE_WINDOWS_CHANGED.</br> <em>Type:</em> #TYPE_WINDOW_STATE_CHANGED</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> <li>#getContentChangeTypes() - The type of state changes.</li> <li>#getSource() - The source info (for registered clients).</li> <li>#getClassName() - The class name of the source.</li> <li>#getPackageName() - The package name of the source.</li> <li>#getEventTime() - The event time.</li> <li>#getText() - The text of the source's sub-tree, including the pane titles.</li> </ul>

<b>Window content changed</b> - represents the event of change in the content of a window. This change can be adding/removing view, changing a view size, etc.</br>

<em>Type:</em> #TYPE_WINDOW_CONTENT_CHANGED</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> <li>#getContentChangeTypes() - The type of content changes.</li> <li>#getSource() - The source info (for registered clients).</li> <li>#getClassName() - The class name of the source.</li> <li>#getPackageName() - The package name of the source.</li> <li>#getEventTime() - The event time.</li> </ul>

<b>Windows changed</b> - represents a change in the windows shown on the screen such as a window appeared, a window disappeared, a window size changed, a window layer changed, etc. These events should only come from the system, which is responsible for managing windows. The list of windows is available from android.accessibilityservice.AccessibilityService#getWindows(). For regions of the user interface that are presented as windows but are controlled by an app's process, use #TYPE_WINDOW_STATE_CHANGED.</br> <em>Type:</em> #TYPE_WINDOWS_CHANGED</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> <li>#getEventTime() - The event time.</li> <li>#getWindowChanges()</li> - The specific change to the source window </ul> <em>Note:</em> You can retrieve the AccessibilityWindowInfo for the window source of the event by looking through the list returned by android.accessibilityservice.AccessibilityService#getWindows() for the window whose ID matches #getWindowId().

<b>NOTIFICATION TYPES</b></br>

<b>Notification state changed</b> - represents the event showing a transient piece of information to the user. This information may be a android.app.Notification or android.widget.Toast.</br> <em>Type:</em> #TYPE_NOTIFICATION_STATE_CHANGED</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> <li>#getClassName() - The class name of the source.</li> <li>#getPackageName() - The package name of the source.</li> <li>#getEventTime() - The event time.</li> <li>#getParcelableData() - The posted android.app.Notification, if applicable.</li> <li>#getText() - Displayed text of the android.widget.Toast, if applicable, or may contain text from the android.app.Notification, although #getParcelableData() is a richer set of data for android.app.Notification.</li> </ul>

<b>EXPLORATION TYPES</b></br>

<b>View hover enter</b> - represents the event of beginning to hover over a android.view.View. The hover may be generated via exploring the screen by touch or via a pointing device.</br> <em>Type:</em> #TYPE_VIEW_HOVER_ENTER</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> <li>#getSource() - The source info (for registered clients).</li> <li>#getClassName() - The class name of the source.</li> <li>#getPackageName() - The package name of the source.</li> <li>#getEventTime() - The event time.</li> </ul>

<b>View hover exit</b> - represents the event of stopping to hover over a android.view.View. The hover may be generated via exploring the screen by touch or via a pointing device.</br> <em>Type:</em> #TYPE_VIEW_HOVER_EXIT</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> <li>#getSource() - The source info (for registered clients).</li> <li>#getClassName() - The class name of the source.</li> <li>#getPackageName() - The package name of the source.</li> <li>#getEventTime() - The event time.</li> </ul> </p>

<b>View scrolled to</b> - represents the event of a target node brought on screen by ACTION_SCROLL_IN_DIRECTION. <em>Type:</em> #TYPE_VIEW_TARGETED_BY_SCROLL</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> <li>#getSource() - The source info (for registered clients). This represents the node that is brought on screen as a result of the scroll.</li> <li>#getClassName() - The class name of the source.</li> <li>#getPackageName() - The package name of the source.</li> <li>#getEventTime() - The event time.</li> </ul>

<b>Touch interaction start</b> - represents the event of starting a touch interaction, which is the user starts touching the screen.</br> <em>Type:</em> #TYPE_TOUCH_INTERACTION_START</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> </ul> <em>Note:</em> This event is fired only by the system and is not passed to the view tree to be populated.</br>

<b>Touch interaction end</b> - represents the event of ending a touch interaction, which is the user stops touching the screen.</br> <em>Type:</em> #TYPE_TOUCH_INTERACTION_END</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> </ul> <em>Note:</em> This event is fired only by the system and is not passed to the view tree to be populated.</br>

<b>Touch exploration gesture start</b> - represents the event of starting a touch exploring gesture.</br> <em>Type:</em> #TYPE_TOUCH_EXPLORATION_GESTURE_START</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> </ul> <em>Note:</em> This event is fired only by the system and is not passed to the view tree to be populated.</br>

<b>Touch exploration gesture end</b> - represents the event of ending a touch exploring gesture.</br> <em>Type:</em> #TYPE_TOUCH_EXPLORATION_GESTURE_END</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> </ul> <em>Note:</em> This event is fired only by the system and is not passed to the view tree to be populated.</br>

<b>Touch gesture detection start</b> - represents the event of starting a user gesture detection.</br> <em>Type:</em> #TYPE_GESTURE_DETECTION_START</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> </ul> <em>Note:</em> This event is fired only by the system and is not passed to the view tree to be populated.</br>

<b>Touch gesture detection end</b> - represents the event of ending a user gesture detection.</br> <em>Type:</em> #TYPE_GESTURE_DETECTION_END</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> </ul> <em>Note:</em> This event is fired only by the system and is not passed to the view tree to be populated.</br>

<b>MISCELLANEOUS TYPES</b></br>

<b>Announcement</b> - represents the event of an application requesting a screen reader to make an announcement. Because the event carries no semantic meaning, this event is appropriate only in exceptional situations where additional screen reader output is needed but other types of accessibility services do not need to be aware of the change.</br> <em>Type:</em> #TYPE_ANNOUNCEMENT</br> <em>Properties:</em></br> <ul> <li>#getEventType() - The type of the event.</li> <li>#getSource() - The source info (for registered clients).</li> <li>#getClassName() - The class name of the source.</li> <li>#getPackageName() - The package name of the source.</li> <li>#getEventTime() - The event time.</li> <li>#getText() - The text of the announcement.</li> </ul>

<b>speechStateChanged</b> <em>Type:</em> #TYPE_SPEECH_STATE_CHANGE</br> Represents a change in the speech state defined by the bit mask of 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. <em>Properties:</em></br> <ul> <li>#getSpeechStateChangeTypes() - The type of state changes</li> <li>#getPackageName() - The package name of the source.</li> <li>#getEventTime() - The event time.</li> </ul>

Java documentation for android.view.accessibility.AccessibilityEvent.

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.

Constructors

AccessibilityEvent()

Creates a new AccessibilityEvent.

AccessibilityEvent(AccessibilityEvent)

Copy constructor.

AccessibilityEvent(Int32)

Creates a new AccessibilityEvent with the given eventType.

Fields

ContentChangeTypeContentDescription
Obsolete.

Change type for #TYPE_WINDOW_CONTENT_CHANGED event: The node's content description changed.

ContentChangeTypeContentInvalid
Obsolete.

Change type for #TYPE_WINDOW_CONTENT_CHANGED event: The source node changed its content validity returned by AccessibilityNodeInfo#isContentInvalid.

ContentChangeTypeDragCancelled
Obsolete.

Change type for #TYPE_WINDOW_CONTENT_CHANGED event: A drag in with accessibility enabled has ended.

ContentChangeTypeDragDropped
Obsolete.

Change type for #TYPE_WINDOW_CONTENT_CHANGED event: A drag in with accessibility enabled has ended.

ContentChangeTypeDragStarted
Obsolete.

Change type for #TYPE_WINDOW_CONTENT_CHANGED event: A drag has started while accessibility is enabled.

ContentChangeTypeEnabled
Obsolete.

Change type for #TYPE_WINDOW_CONTENT_CHANGED event: The source node changed its ability to interact returned by AccessibilityNodeInfo#isEnabled.

ContentChangeTypeError
Obsolete.

Change type for #TYPE_WINDOW_CONTENT_CHANGED event: The source node changed its erroneous content's error message returned by AccessibilityNodeInfo#getError.

ContentChangeTypePaneAppeared
Obsolete.

Change type for #TYPE_WINDOW_STATE_CHANGED event: The node has a pane title, and either just appeared or just was assigned a title when it had none before.

ContentChangeTypePaneDisappeared
Obsolete.

Change type for #TYPE_WINDOW_STATE_CHANGED event: Can mean one of two slightly different things.

ContentChangeTypePaneTitle
Obsolete.

Change type for #TYPE_WINDOW_STATE_CHANGED event: The node's pane title changed.

ContentChangeTypeStateDescription
Obsolete.

Change type for #TYPE_WINDOW_CONTENT_CHANGED event: state description of the node as returned by AccessibilityNodeInfo#getStateDescription changed.

ContentChangeTypeSubtree
Obsolete.

Change type for #TYPE_WINDOW_CONTENT_CHANGED event: One or more content changes occurred in the the subtree rooted at the source node, or the subtree's structure changed when a node was added or removed.

ContentChangeTypeText
Obsolete.

Change type for #TYPE_WINDOW_CONTENT_CHANGED event: The node's text changed.

ContentChangeTypeUndefined
Obsolete.

Change type for #TYPE_WINDOW_CONTENT_CHANGED event: The type of change is not defined.

InvalidPosition

Invalid selection/focus position.

MaxTextLength
Obsolete.

Maximum length of the text fields.

SpeechStateListeningEnd
Obsolete.

Change type for #TYPE_SPEECH_STATE_CHANGE event: another service is no longer listening to the microphone.

SpeechStateListeningStart
Obsolete.

Change type for #TYPE_SPEECH_STATE_CHANGE event: another service is listening to the microphone.

SpeechStateSpeakingEnd
Obsolete.

Change type for #TYPE_SPEECH_STATE_CHANGE event: another service is no longer speaking.

SpeechStateSpeakingStart
Obsolete.

Change type for #TYPE_SPEECH_STATE_CHANGE event: another service is speaking.

TypeSpeechStateChange
Obsolete.

Represents a change in the speech state defined by the speech state change types.

TypeViewTargetedByScroll
Obsolete.

Represents the event of a scroll having completed and brought the target node on screen.

WindowsChangeAccessibilityFocused
Obsolete.

Change type for #TYPE_WINDOWS_CHANGED event: The window's AccessibilityWindowInfo#isAccessibilityFocused() changed.

WindowsChangeActive
Obsolete.

Change type for #TYPE_WINDOWS_CHANGED event: The window's AccessibilityWindowInfo#isActive() changed.

WindowsChangeAdded
Obsolete.

Change type for #TYPE_WINDOWS_CHANGED event: The window was added.

WindowsChangeBounds
Obsolete.

Change type for #TYPE_WINDOWS_CHANGED event: The window's bounds changed.

WindowsChangeChildren
Obsolete.

Change type for #TYPE_WINDOWS_CHANGED event: The window's children changed.

WindowsChangeFocused
Obsolete.

Change type for #TYPE_WINDOWS_CHANGED event: The window's AccessibilityWindowInfo#isFocused() changed.

WindowsChangeLayer
Obsolete.

Change type for #TYPE_WINDOWS_CHANGED event: The window's layer changed.

WindowsChangeParent
Obsolete.

Change type for #TYPE_WINDOWS_CHANGED event: The window's parent changed.

WindowsChangePip
Obsolete.

Change type for #TYPE_WINDOWS_CHANGED event: The window either entered or exited picture-in-picture mode.

WindowsChangeRemoved
Obsolete.

Change type for #TYPE_WINDOWS_CHANGED event: A window was removed.

WindowsChangeTitle
Obsolete.

Change type for #TYPE_WINDOWS_CHANGED event: The window's title changed.

Properties

AccessibilityDataSensitive

Whether the event should only be delivered to an android.accessibilityservice.AccessibilityService with the android.accessibilityservice.AccessibilityServiceInfo#isAccessibilityTool property set to true. -or- Sets whether the event should only be delivered to an android.accessibilityservice.AccessibilityService with the android.accessibilityservice.AccessibilityServiceInfo#isAccessibilityTool property set to true.

Action
Obsolete.

Gets the performed action that triggered this event.

AddedCount
BeforeText
BeforeTextFormatted
Checked
Class

Returns the runtime class of this Object.

(Inherited from Object)
ClassName
ClassNameFormatted
ContentChangeTypes

Gets the bit mask of change types signaled by a #TYPE_WINDOW_CONTENT_CHANGED event or #TYPE_WINDOW_STATE_CHANGED. -or- Sets the bit mask of node tree changes signaled by an #TYPE_WINDOW_CONTENT_CHANGED event.

ContentDescription
ContentDescriptionFormatted
Creator
CurrentItemIndex
DisplayId

Gets the id of the display from which the event comes from.

(Inherited from AccessibilityRecord)
Enabled
EventTime

Gets the time in which this event was sent. -or- Sets the time in which this event was sent.

EventType

Gets the event type. -or- Sets the event type.

FromIndex
FullScreen
Handle

The handle to the underlying Android instance.

(Inherited from Object)
ItemCount
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
MaxScrollX

Gets the max scroll offset of the source left edge in pixels. -or- Sets the max scroll offset of the source left edge in pixels.

(Inherited from AccessibilityRecord)
MaxScrollY

Gets the max scroll offset of the source top edge in pixels. -or- Sets the max scroll offset of the source top edge in pixels.

(Inherited from AccessibilityRecord)
MovementGranularity

Gets the movement granularity that was traversed. -or- Sets the movement granularity that was traversed.

PackageName
PackageNameFormatted

Gets the package name of the source. -or- Sets the package name of the source.

ParcelableData
Password
PeerReference (Inherited from Object)
RecordCount

Gets the number of records contained in the event.

RemovedCount
Scrollable

Gets if the source is scrollable. -or- Sets if the source is scrollable.

(Inherited from AccessibilityRecord)
ScrollDeltaX

Gets the difference in pixels between the horizontal position before the scroll and the current horizontal position -or- Sets the difference in pixels between the horizontal position before the scroll and the current horizontal position

(Inherited from AccessibilityRecord)
ScrollDeltaY

Gets the difference in pixels between the vertical position before the scroll and the current vertical position -or- Sets the difference in pixels between the vertical position before the scroll and the current vertical position

(Inherited from AccessibilityRecord)
ScrollX

Gets the scroll offset of the source left edge in pixels. -or- Sets the scroll offset of the source left edge in pixels.

(Inherited from AccessibilityRecord)
ScrollY

Gets the scroll offset of the source top edge in pixels. -or- Sets the scroll offset of the source top edge in pixels.

(Inherited from AccessibilityRecord)
Source

Gets the AccessibilityNodeInfo of the event source.

(Inherited from AccessibilityRecord)
SpeechStateChangeTypes

Gets the bit mask of the speech state signaled by a #TYPE_SPEECH_STATE_CHANGE event -or- Sets the bit mask of the speech state change types signaled by a #TYPE_SPEECH_STATE_CHANGE event.

Text
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from AccessibilityRecord)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from AccessibilityRecord)
ToIndex

Gets the index of text selection end or the index of the last visible item when scrolling. -or- Sets the index of text selection end or the index of the last visible item when scrolling.

(Inherited from AccessibilityRecord)
WindowChanges

Get the bit mask of change types signaled by a #TYPE_WINDOWS_CHANGED event.

WindowId

Gets the id of the window from which the event comes from.

(Inherited from AccessibilityRecord)

Methods

AppendRecord(AccessibilityRecord)

Appends an AccessibilityRecord to the end of event records.

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
DescribeContents()

To be added

Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
EventTypeToString(EventTypes)

Returns the string representation of an event type.

GetAction()

Gets the performed action that triggered this event.

GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetRecord(Int32)

Gets the record at a given index.

GetSource(Int32)

Gets the AccessibilityNodeInfo of the event source.

(Inherited from AccessibilityRecord)
InitFromParcel(Parcel)

Creates a new instance from a Parcel.

JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
Obtain()

Instantiates a new AccessibilityEvent instance.

Obtain(AccessibilityEvent)

Instantiates a new AccessibilityEvent instance.

Obtain(EventTypes)

Instantiates a new AccessibilityEvent instance with its type property set.

Recycle()
Obsolete.

Previously would recycle an instance back to be reused.

SetAction(GlobalAction)

Sets the performed action that triggered this event.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetSource(View, Int32)

Sets the source to be a virtual descendant of the given root.

(Inherited from AccessibilityRecord)
SetSource(View)

Sets the event source.

(Inherited from AccessibilityRecord)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
WriteToParcel(Parcel, ParcelableWriteFlags)

To be added

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to