Udostępnij za pośrednictwem


AccessibilityNodeInfo.TouchDelegateInfo.GetTargetForRegion(Region) Method

Definition

Return the target AccessibilityNodeInfo for the given Region.

[Android.Runtime.Register("getTargetForRegion", "(Landroid/graphics/Region;)Landroid/view/accessibility/AccessibilityNodeInfo;", "", ApiSince=29)]
public Android.Views.Accessibility.AccessibilityNodeInfo? GetTargetForRegion (Android.Graphics.Region region);
[<Android.Runtime.Register("getTargetForRegion", "(Landroid/graphics/Region;)Landroid/view/accessibility/AccessibilityNodeInfo;", "", ApiSince=29)>]
member this.GetTargetForRegion : Android.Graphics.Region -> Android.Views.Accessibility.AccessibilityNodeInfo

Parameters

region
Region

The region retrieved from #getRegionAt(int).

Returns

The target node associates with the given region.

Attributes

Remarks

Return the target AccessibilityNodeInfo for the given Region.

<strong>Note:</strong> This api can only be called from AccessibilityService.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.TouchDelegateInfo.getTargetForRegion(android.graphics.Region).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to