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
- 屬性
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
建構函式
| 名稱 | Description |
|---|---|
| IntentFilterAttribute(String[]) |
構造並初始化 IntentFilterAttribute 一個包含指定動作的新實例。 |
屬性
| 名稱 | Description |
|---|---|
| Actions |
意圖過濾動作。 |
| AutoVerify | |
| Categories |
意圖過濾器的分類。 |
| DataHost |
是羅德島管理局的主辦單位。 |
| 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 | |