findAccessibilityNodeInfosByViewId
open fun findAccessibilityNodeInfosByViewId(viewId: String): List<AccessibilityNodeInfoCompat>(source)
Finds AccessibilityNodeInfoCompats 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: The primary usage of this API is for UI test automation and in order to report the fully qualified view id if an AccessibilityNodeInfoCompat the client has to set the FLAG_REPORT_VIEW_IDS flag when configuring their android.accessibilityservice.AccessibilityService.
Return
A list of node info.
Parameters
viewId
The fully qualified resource name of the view id to find.