Compartilhar via


AccessibilityNodeInfo.StateDescriptionFormatted Property

Definition

Get the state description of this node. -or- Sets the state description of this node.

public virtual Java.Lang.ICharSequence? StateDescriptionFormatted { [Android.Runtime.Register("getStateDescription", "()Ljava/lang/CharSequence;", "GetGetStateDescriptionHandler", ApiSince=30)] get; [Android.Runtime.Register("setStateDescription", "(Ljava/lang/CharSequence;)V", "GetSetStateDescription_Ljava_lang_CharSequence_Handler", ApiSince=30)] set; }
[<get: Android.Runtime.Register("getStateDescription", "()Ljava/lang/CharSequence;", "GetGetStateDescriptionHandler", ApiSince=30)>]
[<set: Android.Runtime.Register("setStateDescription", "(Ljava/lang/CharSequence;)V", "GetSetStateDescription_Ljava_lang_CharSequence_Handler", ApiSince=30)>]
member this.StateDescriptionFormatted : Java.Lang.ICharSequence with get, set

Property Value

the state description

Attributes

Remarks

Property getter documentation:

Get the state description of this node.

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

Property setter documentation:

Sets the state description 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.setStateDescription(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