Share via


AccessibilityManager.IsRequestFromAccessibilityTool Property

Definition

Whether the current accessibility request comes from an AccessibilityService with the AccessibilityServiceInfo#isAccessibilityTool property set to true.

public bool IsRequestFromAccessibilityTool { [Android.Runtime.Register("isRequestFromAccessibilityTool", "()Z", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("isRequestFromAccessibilityTool", "()Z", "", ApiSince=34)>]
member this.IsRequestFromAccessibilityTool : bool

Property Value

True if the current request is from a tool that sets isAccessibilityTool.

Attributes

Remarks

Whether the current accessibility request comes from an AccessibilityService with the AccessibilityServiceInfo#isAccessibilityTool property set to true.

You can use this method inside AccessibilityNodeProvider to decide how to populate your nodes.

<strong>Note:</strong> The return value is valid only when an AccessibilityNodeInfo request is in progress, can change from one request to another, and has no meaning when a request is not in progress.

Java documentation for android.view.accessibility.AccessibilityManager.isRequestFromAccessibilityTool().

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