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 |
在 |