Share via


AccessibilityNodeInfo.HintTextFormatted Property

Definition

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

public virtual Java.Lang.ICharSequence? HintTextFormatted { [Android.Runtime.Register("getHintText", "()Ljava/lang/CharSequence;", "GetGetHintTextHandler", ApiSince=26)] get; [Android.Runtime.Register("setHintText", "(Ljava/lang/CharSequence;)V", "GetSetHintText_Ljava_lang_CharSequence_Handler", ApiSince=26)] set; }
[<get: Android.Runtime.Register("getHintText", "()Ljava/lang/CharSequence;", "GetGetHintTextHandler", ApiSince=26)>]
[<set: Android.Runtime.Register("setHintText", "(Ljava/lang/CharSequence;)V", "GetSetHintText_Ljava_lang_CharSequence_Handler", ApiSince=26)>]
member this.HintTextFormatted : Java.Lang.ICharSequence with get, set

Property Value

The hint text.

Attributes

Remarks

Property getter documentation:

Gets the hint text of this node. Only applies to nodes where text can be entered.

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

Property setter documentation:

Sets the hint text of this node. Only applies to nodes where text can be entered.

<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.setHintText(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