次の方法で共有


AutofillManager.NotifyVirtualViewsReady(View, SparseArray) Method

Definition

Called when the virtual views are ready to the user for autofill.

[Android.Runtime.Register("notifyVirtualViewsReady", "(Landroid/view/View;Landroid/util/SparseArray;)V", "", ApiSince=34)]
public void NotifyVirtualViewsReady (Android.Views.View view, Android.Util.SparseArray infos);
[<Android.Runtime.Register("notifyVirtualViewsReady", "(Landroid/view/View;Landroid/util/SparseArray;)V", "", ApiSince=34)>]
member this.NotifyVirtualViewsReady : Android.Views.View * Android.Util.SparseArray -> unit

Parameters

view
View

the host view that holds a virtual view hierarchy.

infos
SparseArray

extra information for the virtual views. The key is virtual id which represents the virtual view in the host view.

Attributes

Remarks

Called when the virtual views are ready to the user for autofill.

This method is used to notify autofill system the views are ready to the user. And then Autofill can do initialization if needed before the user starts to input. For example, do a pre-fill request for the fill dialog.

Java documentation for android.view.autofill.AutofillManager.notifyVirtualViewsReady(android.view.View, android.util.SparseArray<android.view.autofill.VirtualViewFillInfo>).

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