ContentCaptureCondition(LocusId, ContentCaptureConditionFlags) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
預設建構函式。
[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
參數
- locusId
- LocusId
條件的 ID,定義為 ContentCaptureContext#getLocusId()。
要麼(使用正則表達式匹配),要麼ContentCaptureCondition#FLAG_IS_REGEX0 (此時 必須LocusId與 中LocusId所用的ContentCaptureContext完全匹配)。
- 屬性
備註
預設建構函式。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。