AccessibilityWindowInfoCompat

Constructors

Link copied to clipboard
constructor()
Creates a new AccessibilityWindowInfoCompat.

Properties

Link copied to clipboard
Window type: Windows that are overlaid only by an for interception of user interactions without changing the windows an accessibility service can introspect.
Link copied to clipboard
Window type: This is an application window.
Link copied to clipboard
Window type: This is an input method window.
Link copied to clipboard
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.
Link copied to clipboard
Window type: A system window used to divide the screen in split-screen mode.
Link copied to clipboard
val TYPE_SYSTEM: Int = 3
Window type: This is an system window.

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
@Nullable
open fun getAnchor(): @Nullable AccessibilityNodeInfoCompat
Gets the node that anchors this window to another.
Link copied to clipboard
open fun getBoundsInScreen(@NonNull outBounds: @NonNull Rect)
Gets the bounds of this window in the screen.
Link copied to clipboard
@Nullable
open fun getChild(index: Int): @Nullable AccessibilityWindowInfoCompat
Gets the child window at a given index.
Link copied to clipboard
open fun getChildCount(): Int
Gets the number of child windows.
Link copied to clipboard
open fun getDisplayId(): Int
Returns the ID of the display this window is on, for use with getDisplay.
Link copied to clipboard
open fun getId(): Int
Gets the unique window id.
Link copied to clipboard
open fun getLayer(): Int
Gets the layer which determines the Z-order of the window.
Link copied to clipboard
@NonNull
open fun getLocales(): @NonNull LocaleListCompat
Returns the android.os.LocaleList of the window.
Link copied to clipboard
@Nullable
open fun getParent(): @Nullable AccessibilityWindowInfoCompat
Gets the parent window if such.
Link copied to clipboard
open fun getRegionInScreen(@NonNull outRegion: @NonNull Region)
Gets the touchable region of this window in the screen.
Link copied to clipboard
@Nullable
open fun getRoot(): @Nullable AccessibilityNodeInfoCompat
@Nullable
open fun getRoot(prefetchingStrategy: Int): @Nullable AccessibilityNodeInfoCompat
Gets the root node in the window's hierarchy.
Link copied to clipboard
@Nullable
open fun getTitle(): @Nullable CharSequence
Gets the title of the window.
Link copied to clipboard
Returns the uptimeMillis at which the last transition happens.
Link copied to clipboard
open fun getType(): Int
Gets the type of the window.
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
Gets if this window has accessibility focus.
Link copied to clipboard
open fun isActive(): Boolean
Gets if this window is active.
Link copied to clipboard
open fun isFocused(): Boolean
Gets if this window has input focus.
Link copied to clipboard
Check if the window is in picture-in-picture mode.
Link copied to clipboard
@Nullable
open fun obtain(): @Nullable AccessibilityWindowInfoCompat
@Nullable
open fun obtain(@Nullable info: @Nullable AccessibilityWindowInfoCompat): @Nullable AccessibilityWindowInfoCompat
Returns a cached instance if such is available or a new one is created.
Link copied to clipboard
open fun recycle()
Return an instance back to be reused.
Link copied to clipboard
@NonNull
open fun toString(): @NonNull String
Link copied to clipboard
@Nullable
open fun unwrap(): @Nullable AccessibilityWindowInfo