ContentCaptureManager.ContentCaptureConditions 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得允許內容擷取的條件清單。
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 屬性授權中所述的詞彙使用。