ContentCaptureSession.NotifyViewsDisappeared(AutofillId, Int64[]) Method

Definition

Notifies the Content Capture Service that many nodes has been removed from a virtual view structure.

[Android.Runtime.Register("notifyViewsDisappeared", "(Landroid/view/autofill/AutofillId;[J)V", "", ApiSince=29)]
public void NotifyViewsDisappeared (Android.Views.Autofill.AutofillId hostId, long[] virtualIds);
[<Android.Runtime.Register("notifyViewsDisappeared", "(Landroid/view/autofill/AutofillId;[J)V", "", ApiSince=29)>]
member this.NotifyViewsDisappeared : Android.Views.Autofill.AutofillId * int64[] -> unit

Parameters

hostId
AutofillId

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

virtualIds
Int64[]

ids of the virtual children.

Attributes

Remarks

Notifies the Content Capture Service that many nodes has been removed from a virtual view structure.

Should only be called by views that handle their own virtual view hierarchy.

After UPSIDE_DOWN_CAKE, this method wraps the virtual children with a pair of view tree appearing and view tree appeared events.

Java documentation for android.view.contentcapture.ContentCaptureSession.notifyViewsDisappeared(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