ContentCaptureManager.ContentCaptureConditions 属性

定义

获取何时允许内容捕获的条件列表。

public System.Collections.Generic.ICollection<Android.Views.ContentCaptures.ContentCaptureCondition>? ContentCaptureConditions { [Android.Runtime.Register("getContentCaptureConditions", "()Ljava/util/Set;", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getContentCaptureConditions", "()Ljava/util/Set;", "", ApiSince=29)>]
member this.ContentCaptureConditions : System.Collections.Generic.ICollection<Android.Views.ContentCaptures.ContentCaptureCondition>

属性值

条件列表,或者 null 如果服务未设置任何限制(在这种情况下,应始终生成内容捕获事件)。 如果列表为空,则根本不应生成任何事件。

属性

注解

获取何时允许内容捕获的条件列表。

此方法通常由 Web 浏览器使用,因此它们不会为网站生成不必要的内容捕获事件,而内容捕获服务不感兴趣。

适用于 . 的 android.view.contentcapture.ContentCaptureManager.getContentCaptureConditions()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于