Dil

AccessibilityWindowInfo.GetControlledWindow(Int32) Method

Definition

Gets the controlled window at the given index.

[Android.Runtime.Register("getControlledWindow", "(I)Landroid/view/accessibility/AccessibilityWindowInfo;", "", ApiSince=37)]
public Android.Views.Accessibility.AccessibilityWindowInfo? GetControlledWindow(int index);
[<Android.Runtime.Register("getControlledWindow", "(I)Landroid/view/accessibility/AccessibilityWindowInfo;", "", ApiSince=37)>]
member this.GetControlledWindow : int -> Android.Views.Accessibility.AccessibilityWindowInfo

Parameters

index
Int32

The index.

Returns

The AccessibilityWindowInfo controlled by this window at the given index, or null if the connection is invalid or the window is no longer available.

Attributes

Remarks

Gets the controlled window at the given index.

Clients should not depend on the order of the controlled windows. If the controlled windows change, clients will receive a AccessibilityEvent.TYPE_WINDOWS_CHANGED.

Android reference for android.view.accessibility.AccessibilityWindowInfo.getControlledWindow.

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.

Applies to