Udostępnij za pośrednictwem


IntentFilterAttribute Class

Definition

Generates the //intent-filter element within 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
Inheritance
IntentFilterAttribute
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

IntentFilterAttribute(String[])

Constructs and initializes a new IntentFilterAttribute instance with the specified actions.

Properties

Actions

The intent filter actions.

AutoVerify
Categories

The intent filter categories.

DataHost

The host part of a URI authority.

DataHosts
DataMimeType

A MIME media type, such as image/jpeg.

DataMimeTypes
DataPath

The path part of a URI.

DataPathAdvancedPattern
DataPathAdvancedPatterns
DataPathPattern

The path part of a URI.

DataPathPatterns
DataPathPrefix

The path part of a URI.

DataPathPrefixes
DataPaths
DataPathSuffix
DataPathSuffixes
DataPort

The port part of a URI.

DataPorts
DataScheme

The scheme part of a URI.

DataSchemes
Icon

A reference to a drawable resource containing the image definition.

Label

A user-readable label for the parent component.

Priority

The intent filter's priority.

RoundIcon

Applies to