IntentFilterAttribute 类

定义

//intent-filterAndroidManifest.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

//intent-filterAndroidManifest.xml生成 元素。

Categories

意向筛选器类别。

DataHost

URI 颁发机构的主机部分。

DataHosts

//intent-filterAndroidManifest.xml生成 元素。

DataMimeType

MIME 媒体类型,例如 image/jpeg

DataMimeTypes

//intent-filterAndroidManifest.xml生成 元素。

DataPath

URI 的路径部分。

DataPathAdvancedPattern

//intent-filterAndroidManifest.xml生成 元素。

DataPathAdvancedPatterns

//intent-filterAndroidManifest.xml生成 元素。

DataPathPattern

URI 的路径部分。

DataPathPatterns

//intent-filterAndroidManifest.xml生成 元素。

DataPathPrefix

URI 的路径部分。

DataPathPrefixes

//intent-filterAndroidManifest.xml生成 元素。

DataPaths

//intent-filterAndroidManifest.xml生成 元素。

DataPathSuffix

//intent-filterAndroidManifest.xml生成 元素。

DataPathSuffixes

//intent-filterAndroidManifest.xml生成 元素。

DataPort

URI 的端口部分。

DataPorts

//intent-filterAndroidManifest.xml生成 元素。

DataScheme

URI 的方案部分。

DataSchemes

//intent-filterAndroidManifest.xml生成 元素。

Icon

对包含图像定义的可绘制资源的引用。

Label

父组件的用户可读标签。

Priority

意向筛选器的优先级。

RoundIcon

//intent-filterAndroidManifest.xml生成 元素。

适用于