语言

ContentCaptureSession.NotifyViewAppeared(ViewStructure) 方法

定义

通知内容捕获服务已将节点添加到视图结构。

[Android.Runtime.Register("notifyViewAppeared", "(Landroid/view/ViewStructure;)V", "", ApiSince=29)]
public void NotifyViewAppeared(Android.Views.ViewStructure node);
[<Android.Runtime.Register("notifyViewAppeared", "(Landroid/view/ViewStructure;)V", "", ApiSince=29)>]
member this.NotifyViewAppeared : Android.Views.ViewStructure -> unit

参数

node
ViewStructure

已添加的节点。

特性

注解

通知内容捕获服务已将节点添加到视图结构。

通常,由处理其自己的虚拟视图层次结构的视图或由 Android 系统自动调用“手动”用于返回trueView#onProvideContentCaptureStructure(ViewStructure, int)的视图。

考虑在 #notifyViewsAppeared 通知节点列表出现时,使用性能更佳。

Java文档android.view.contentcapture.ContentCaptureSession.notifyViewAppeared(android.view.ViewStructure)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于