Documentation for this section has not yet been entered.
Gets the windows on the screen. This method returns only the windows that a sighted user can interact with, as opposed to all windows. For example, if there is a modal dialog shown and the user cannot touch anything behind it, then only the modal window will be reported (assuming it is the top one). For convenience the returned windows are ordered in a descending layer order, which is the windows that are higher in the Z-order are reported first.
Note: In order to access the windows you have to opt-in to retrieve the interactive windows by setting the Android.AccessibilityServices.AccessibilityServiceInfo.FlagRetrieveInteractiveWindows flag.