Share via


AccessibilityNodeInfo.ImportantForAccessibility Property

Definition

Returns whether the node originates from a view considered important for accessibility. -or- Sets whether the node is considered important for accessibility.

public virtual bool ImportantForAccessibility { [Android.Runtime.Register("isImportantForAccessibility", "()Z", "GetIsImportantForAccessibilityHandler", ApiSince=24)] get; [Android.Runtime.Register("setImportantForAccessibility", "(Z)V", "GetSetImportantForAccessibility_ZHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("isImportantForAccessibility", "()Z", "GetIsImportantForAccessibilityHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setImportantForAccessibility", "(Z)V", "GetSetImportantForAccessibility_ZHandler", ApiSince=24)>]
member this.ImportantForAccessibility : bool with get, set

Property Value

true if the node originates from a view considered important for accessibility, false otherwise

Attributes

Remarks

Property getter documentation:

Returns whether the node originates from a view considered important for accessibility.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.isImportantForAccessibility().

Property setter documentation:

Sets whether the node is considered important for accessibility.

<strong>Note:</strong> Cannot be called from an android.accessibilityservice.AccessibilityService. This class is made immutable before being delivered to an AccessibilityService.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.setImportantForAccessibility(boolean).

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