getTargetForRegion

Return the target AccessibilityNodeInfoCompat for the given Region.

Note: This api can only be called from android.accessibilityservice.AccessibilityService.

Compatibility:

  • API <29: Always returns null

Return

The target node associates with the given region.

Parameters

region

The region retrieved from getRegionAt.