Sdílet prostřednictvím


ViewStructure.SetAutofillId(AutofillId, Int32) Method

Definition

Sets the AutofillId for this virtual node.

[Android.Runtime.Register("setAutofillId", "(Landroid/view/autofill/AutofillId;I)V", "GetSetAutofillId_Landroid_view_autofill_AutofillId_IHandler", ApiSince=26)]
public abstract void SetAutofillId (Android.Views.Autofill.AutofillId parentId, int virtualId);
[<Android.Runtime.Register("setAutofillId", "(Landroid/view/autofill/AutofillId;I)V", "GetSetAutofillId_Landroid_view_autofill_AutofillId_IHandler", ApiSince=26)>]
abstract member SetAutofillId : Android.Views.Autofill.AutofillId * int -> unit

Parameters

parentId
AutofillId

id of the parent node.

virtualId
Int32

an opaque ID to the Android System; it's the same id used on View#autofill(android.util.SparseArray).

Attributes

Remarks

Sets the AutofillId for this virtual node.

Java documentation for android.view.ViewStructure.setAutofillId(android.view.autofill.AutofillId, int).

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