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 服務未設定任何限制,則為 (在此情況下,應該一律產生內容擷取事件)。 如果清單是空的,則完全不應該產生任何事件。

屬性

備註

取得何時應允許內容擷取的條件清單。

網頁瀏覽器通常會使用此方法,因此不會為網站產生不必要的內容擷取事件,而內容擷取服務對此不感興趣。

android.view.contentcapture.ContentCaptureManager.getContentCaptureConditions()Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於