Android.AccessibilityServices.AccessibilityService.RootInActiveWindow Property
Gets the root node in the currently active window if this service can retrieve window content.

Syntax

[get: Android.Runtime.Register("getRootInActiveWindow", "()Landroid/view/accessibility/AccessibilityNodeInfo;", "GetGetRootInActiveWindowHandler")]
public virtual Android.Views.Accessibility.AccessibilityNodeInfo RootInActiveWindow { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Gets the root node in the currently active window if this service can retrieve window content. The active window is the one that the user is currently touching or the window with input focus, if the user is not touching any window.

Note: In order to access the root node your service has to declare the capability to retrieve window content by setting the NoType:android/R$styleable;Href=../../../reference/android/R.styleable.html#AccessibilityService_canRetrieveWindowContent property in its meta-data. For details refer to AccessibilityService.ServiceMetaData.

[Android Documentation]

Requirements

Namespace: Android.AccessibilityServices
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16