Android.Views.Accessibility.AccessibilityNodeInfo.FindAccessibilityNodeInfosByViewId Method
Finds Android.Views.Accessibility.AccessibilityNodeInfos by the fully qualified view id's resource name where a fully qualified id is of the from "package:id/id_resource_name".

Syntax

[Android.Runtime.Register("findAccessibilityNodeInfosByViewId", "(Ljava/lang/String;)Ljava/util/List;", "GetFindAccessibilityNodeInfosByViewId_Ljava_lang_String_Handler")]
public virtual IList<AccessibilityNodeInfo> FindAccessibilityNodeInfosByViewId (string viewId)

Parameters

viewId
The fully qualified resource name of the view id to find.

Returns

Documentation for this section has not yet been entered.

Remarks

Finds Android.Views.Accessibility.AccessibilityNodeInfos by the fully qualified view id's resource name where a fully qualified id is of the from "package:id/id_resource_name". For example, if the target application's package is "foo.bar" and the id resource name is "baz", the fully qualified resource id is "foo.bar:id/baz".

Note: It is a client responsibility to recycle the received info by calling AccessibilityNodeInfo.Recycle to avoid creating of multiple instances.

Note: The primary usage of this API is for UI test automation and in order to report the fully qualified view id if an Android.Views.Accessibility.AccessibilityNodeInfo the client has to set the Android.AccessibilityServices.AccessibilityServiceInfo.FlagReportViewIds flag when configuring his Android.AccessibilityServices.AccessibilityService.

[Android Documentation]

Requirements

Namespace: Android.Views.Accessibility
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18