次の方法で共有


AccessibilityWindowInfo Class

Definition

This class represents a state snapshot of a window for accessibility purposes.

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

Remarks

This class represents a state snapshot of a window for accessibility purposes. The screen content contains one or more windows where some windows can be descendants of other windows, which is the windows are hierarchically ordered. Note that there is no root window. Hence, the screen content can be seen as a collection of window trees.

Java documentation for android.view.accessibility.AccessibilityWindowInfo.

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

AccessibilityWindowInfo()

Creates a new AccessibilityWindowInfo.

AccessibilityWindowInfo(AccessibilityWindowInfo)

Copy constructor.

Fields

TypeAccessibilityOverlay
Obsolete.

Window type: Windows that are overlaid <em>only</em> by an android.accessibilityservice.AccessibilityService for interception of user interactions without changing the windows an accessibility service can introspect.

TypeApplication
Obsolete.

Window type: This is an application window.

TypeInputMethod
Obsolete.

Window type: This is an input method window.

TypeMagnificationOverlay
Obsolete.

Window type: A system window used to show the UI for the interaction with window-based magnification, which includes the magnified content and the option menu.

TypeSplitScreenDivider
Obsolete.

Window type: A system window used to divide the screen in split-screen mode.

TypeSystem
Obsolete.

Window type: This is a system window.

Properties

Anchor

Gets the node that anchors this window to another.

ChildCount

Gets the number of child windows.

Class

Returns the runtime class of this Object.

(Inherited from Object)
Creator
DisplayId

Returns the ID of the display this window is on, for use with android.hardware.display.DisplayManager#getDisplay(int).

Handle

The handle to the underlying Android instance.

(Inherited from Object)
Id

Gets the unique window id.

IsAccessibilityFocused

Gets if this window has accessibility focus.

IsActive

Gets if this window is active.

IsFocused

Gets if this window has input focus.

IsInPictureInPictureMode

Check if the window is in picture-in-picture mode.

JniIdentityHashCode (Inherited from Object)
JniPeerMembers
Layer

Gets the layer which determines the Z-order of the window.

Locales

Return the android.os.LocaleList of the window.

Parent

Gets the parent window.

PeerReference (Inherited from Object)
Root

Gets the root node in the window's hierarchy.

ThresholdClass

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

(Inherited from Object)
ThresholdType

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

(Inherited from Object)
Title
TitleFormatted

Gets the title of the window.

TransitionTimeMillis

Return the SystemClock#uptimeMillis() at which the last transition happens.

Type

Gets the type of the window.

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
DescribeContents()

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

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

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

(Inherited from Object)
GetBoundsInScreen(Rect)

Gets the bounds of this window in the screen.

GetChild(Int32)

Gets the child window at a given index.

GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetRegionInScreen(Region)

Gets the touchable region of this window in the screen.

GetRoot(Int32)

Gets the root node in the window's hierarchy.

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 created.

Obtain(AccessibilityWindowInfo)

Returns a cached instance if such is available or a new one is created.

Recycle()

Return an instance back to be reused.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
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)

Flatten this object in to a Parcel.

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