AccessibilityWindowInfo.ControlledWindowsCount Property
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.
Gets the number of windows which are controlled by this window, if there are any.
public int ControlledWindowsCount { [Android.Runtime.Register("getControlledWindowsCount", "()I", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getControlledWindowsCount", "()I", "", ApiSince=37)>]
member this.ControlledWindowsCount : int
Property Value
The count of AccessibilityWindowInfo controlled by this window,
or 0 if this window does not control other windows.
- Attributes
Remarks
Gets the number of windows which are controlled by this window, if there are any. If this window is not of type AccessibilityWindowInfo.TYPE_WINDOW_CONTROL then this will always return 0.
The returned list will not include children of the top level controlled windows. If the number of controlled windows changes, clients will receive a AccessibilityEvent.TYPE_WINDOWS_CHANGED.
Android reference for android.view.accessibility.AccessibilityWindowInfo.getControlledWindowsCount.
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.