Udostępnij za pośrednictwem


ContentCaptureManager.ContentCaptureConditions Property

Definition

Gets the list of conditions for when content capture should be allowed.

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>

Property Value

list of conditions, or null if the service didn't set any restriction (in which case content capture events should always be generated). If the list is empty, then it should not generate any event at all.

Attributes

Remarks

Gets the list of conditions for when content capture should be allowed.

This method is typically used by web browsers so they don't generate unnecessary content capture events for websites the content capture service is not interested on.

Java documentation for android.view.contentcapture.ContentCaptureManager.getContentCaptureConditions().

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