共用方式為


ViewStructure.SetHintIdEntry(String) Method

Definition

Sets the identifier used to set the hint associated with this view.

[Android.Runtime.Register("setHintIdEntry", "(Ljava/lang/String;)V", "GetSetHintIdEntry_Ljava_lang_String_Handler", ApiSince=30)]
public virtual void SetHintIdEntry (string entryName);
[<Android.Runtime.Register("setHintIdEntry", "(Ljava/lang/String;)V", "GetSetHintIdEntry_Ljava_lang_String_Handler", ApiSince=30)>]
abstract member SetHintIdEntry : string -> unit
override this.SetHintIdEntry : string -> unit

Parameters

entryName
String
Attributes

Remarks

Sets the identifier used to set the hint associated with this view.

Used as metadata for fingerprinting view nodes/structures.

Should only be set when the node is used for autofill purposes - it will be ignored when used for Assist.

Java documentation for android.view.ViewStructure.setHintIdEntry(java.lang.String).

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