AccessibilityEvent Class
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.
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
- Attributes
- Implements
Remarks
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) |
Copy constructor. |
AccessibilityEvent(Int32) |
Creates a new |
Fields
ContentChangeTypeContentDescription |
Obsolete.
Change type for |
ContentChangeTypePaneAppeared |
Obsolete.
Change type for |
ContentChangeTypePaneDisappeared |
Obsolete.
Change type for |
ContentChangeTypePaneTitle |
Obsolete.
Change type for |
ContentChangeTypeStateDescription |
Obsolete.
Change type for |
ContentChangeTypeSubtree |
Obsolete.
Change type for |
ContentChangeTypeText |
Obsolete.
Change type for |
ContentChangeTypeUndefined |
Obsolete.
Change type for |
InvalidPosition |
Invalid selection/focus position. |
MaxTextLength |
Obsolete.
Maximum length of the text fields. |
WindowsChangeAccessibilityFocused |
Obsolete.
Change type for |
WindowsChangeActive |
Obsolete.
Change type for |
WindowsChangeAdded |
Obsolete.
Change type for |
WindowsChangeBounds |
Obsolete.
Change type for |
WindowsChangeChildren |
Obsolete.
Change type for |
WindowsChangeFocused |
Obsolete.
Change type for |
WindowsChangeLayer |
Obsolete.
Change type for |
WindowsChangeParent |
Obsolete.
Change type for |
WindowsChangePip |
Obsolete.
Change type for |
WindowsChangeRemoved |
Obsolete.
Change type for |
WindowsChangeTitle |
Obsolete.
Change type for |
Properties
Action |
Obsolete.
Gets the performed action that triggered this event. |
AddedCount | |
BeforeText | |
BeforeTextFormatted | |
Checked | |
Class |
Returns the runtime class of this |
ClassName | |
ClassNameFormatted | |
ContentChangeTypes |
Gets the bit mask of change types signaled by a
|
ContentDescription | |
ContentDescriptionFormatted | |
Creator | |
CurrentItemIndex | |
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 |
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 |
WindowId |
Gets the id of the window from which the event comes from. (Inherited from AccessibilityRecord) |
Methods
AppendRecord(AccessibilityRecord) |
Appends an |
Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
DescribeContents() |
[TODO: @inheritDoc] |
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. |
InitFromParcel(Parcel) |
Creates a new instance from a |
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() |
Returns a cached instance if such is available or a new one is instantiated. |
Obtain(AccessibilityEvent) |
Returns a cached instance if such is available or a new one is created. |
Obtain(EventTypes) |
Returns a cached instance if such is available or a new one is instantiated with its type property set. |
Recycle() |
Recycles 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) |
Sets the event source. (Inherited from AccessibilityRecord) |
SetSource(View, Int32) |
Sets the source to be a virtual descendant of the given <code>root</code>. (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 another thread invokes the
|
Wait(Int64) |
Causes the current thread to wait until either another thread invokes the
|
Wait(Int64, Int32) |
Causes the current thread to wait until another thread invokes the
|
WriteToParcel(Parcel, ParcelableWriteFlags) |
[TODO: @inheritDoc] |
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) |