共用方式為


View.SetAutofillHints(String[]) Method

Definition

Sets the hints that help an android.service.autofill.AutofillService determine how to autofill the view with the user's data.

[Android.Runtime.Register("setAutofillHints", "([Ljava/lang/String;)V", "GetSetAutofillHints_arrayLjava_lang_String_Handler", ApiSince=26)]
public virtual void SetAutofillHints (params string[]? autofillHints);
[<Android.Runtime.Register("setAutofillHints", "([Ljava/lang/String;)V", "GetSetAutofillHints_arrayLjava_lang_String_Handler", ApiSince=26)>]
abstract member SetAutofillHints : string[] -> unit
override this.SetAutofillHints : string[] -> unit

Parameters

autofillHints
String[]

The autofill hints to set. If the array is emtpy, null is set.

Attributes

Remarks

Java documentation for android.view.View.setAutofillHints(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