Aracılığıyla paylaş


ContentCaptureCondition(LocusId, ContentCaptureConditionFlags) Constructor

Definition

Default constructor.

[Android.Runtime.Register(".ctor", "(Landroid/content/LocusId;I)V", "", ApiSince=29)]
public ContentCaptureCondition (Android.Content.LocusId locusId, Android.Views.ContentCaptures.ContentCaptureConditionFlags flags);
[<Android.Runtime.Register(".ctor", "(Landroid/content/LocusId;I)V", "", ApiSince=29)>]
new Android.Views.ContentCaptures.ContentCaptureCondition : Android.Content.LocusId * Android.Views.ContentCaptures.ContentCaptureConditionFlags -> Android.Views.ContentCaptures.ContentCaptureCondition

Parameters

locusId
LocusId

id of the condition, as defined by ContentCaptureContext#getLocusId().

flags
ContentCaptureConditionFlags

either ContentCaptureCondition#FLAG_IS_REGEX (to use a regular expression match) or 0 (in which case the LocusId must be an exact match of the LocusId used in the ContentCaptureContext).

Attributes

Remarks

Default constructor.

Java documentation for android.view.contentcapture.ContentCaptureCondition.ContentCaptureCondition(android.content.LocusId, int).

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