IntentFilterAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在 //intent-filter 中 AndroidManifest.xml產生專案。
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
[System.Serializable]
public sealed class IntentFilterAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)>]
[<System.Serializable>]
type IntentFilterAttribute = class
inherit Attribute
- 繼承
-
IntentFilterAttribute
- 屬性
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
建構函式
| IntentFilterAttribute(String[]) |
使用指定的動作建構和初始化新的 IntentFilterAttribute 實例。 |
屬性
| Actions |
意圖篩選動作。 |
| AutoVerify |
在 |
| Categories |
意圖篩選類別。 |
| DataHost |
URI 授權單位的主機部分。 |
| DataHosts |
在 |
| DataMimeType |
MIME 媒體類型,例如 |
| DataMimeTypes |
在 |
| DataPath |
URI 的路徑部分。 |
| DataPathAdvancedPattern |
在 |
| DataPathAdvancedPatterns |
在 |
| DataPathPattern |
URI 的路徑部分。 |
| DataPathPatterns |
在 |
| DataPathPrefix |
URI 的路徑部分。 |
| DataPathPrefixes |
在 |
| DataPaths |
在 |
| DataPathSuffix |
在 |
| DataPathSuffixes |
在 |
| DataPort |
URI 的埠部分。 |
| DataPorts |
在 |
| DataScheme |
URI 的配置部分。 |
| DataSchemes |
在 |
| Icon |
包含影像定義的可繪製資源的參考。 |
| Label |
父元件的用戶可讀取標籤。 |
| Priority |
意圖篩選的優先順序。 |
| RoundIcon |
在 |