ContentCaptureSession.NewAutofillId(AutofillId, Int64) Method

Definition

Creates a new AutofillId for a virtual child, so it can be used to uniquely identify the children in the session.

[Android.Runtime.Register("newAutofillId", "(Landroid/view/autofill/AutofillId;J)Landroid/view/autofill/AutofillId;", "GetNewAutofillId_Landroid_view_autofill_AutofillId_JHandler", ApiSince=29)]
public virtual Android.Views.Autofill.AutofillId NewAutofillId (Android.Views.Autofill.AutofillId hostId, long virtualChildId);
[<Android.Runtime.Register("newAutofillId", "(Landroid/view/autofill/AutofillId;J)Landroid/view/autofill/AutofillId;", "GetNewAutofillId_Landroid_view_autofill_AutofillId_JHandler", ApiSince=29)>]
abstract member NewAutofillId : Android.Views.Autofill.AutofillId * int64 -> Android.Views.Autofill.AutofillId
override this.NewAutofillId : Android.Views.Autofill.AutofillId * int64 -> Android.Views.Autofill.AutofillId

Parameters

hostId
AutofillId

id of the non-virtual view hosting the virtual view hierarchy (it can be obtained by calling ViewStructure#getAutofillId()).

virtualChildId
Int64

id of the virtual child, relative to the parent.

Returns

if for the virtual child

Attributes

Remarks

Creates a new AutofillId for a virtual child, so it can be used to uniquely identify the children in the session.

Java documentation for android.view.contentcapture.ContentCaptureSession.newAutofillId(android.view.autofill.AutofillId, long).

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