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
- 属性
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
构造函数
| 名称 | 说明 |
|---|---|
| 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 | |