AccessibilityNodeInfo.ErrorFormatted Property

Definition

Gets the error text of this node. -or- Sets the error text of this node.

public virtual Java.Lang.ICharSequence? ErrorFormatted { [Android.Runtime.Register("getError", "()Ljava/lang/CharSequence;", "GetGetErrorHandler")] get; [Android.Runtime.Register("setError", "(Ljava/lang/CharSequence;)V", "GetSetError_Ljava_lang_CharSequence_Handler")] set; }
[<get: Android.Runtime.Register("getError", "()Ljava/lang/CharSequence;", "GetGetErrorHandler")>]
[<set: Android.Runtime.Register("setError", "(Ljava/lang/CharSequence;)V", "GetSetError_Ljava_lang_CharSequence_Handler")>]
member this.ErrorFormatted : Java.Lang.ICharSequence with get, set

Property Value

The error text.

Attributes

Exceptions

If called from an AccessibilityService.

Remarks

Property getter documentation:

Gets the error text of this node.

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

Property setter documentation:

Sets the error text of this node.

<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.setError(java.lang.CharSequence).

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