共用方式為


MatchResults Enum

Definition

public enum MatchResults
type MatchResults = 
Inheritance
MatchResults

Fields

Name Value Description
NoMatchCategory -4

The filter didn't match because it required one or more categories that were not in the Intent.

NoMatchAction -3

The filter didn't match due to different actions.

NoMatchData -2

The filter didn't match due to different data URIs.

NoMatchType -1

The filter didn't match due to different MIME types.

MatchAdjustmentNormal 32768

Quality adjustment applied to the category of match that signifies the default, base value; higher numbers improve the quality while lower numbers reduce it.

MatchAdjustmentMask 65535

The part of a match constant that applies a quality adjustment to the basic category of match.

MatchCategoryEmpty 1048576

The filter matched an intent that had no data specified.

MatchCategoryScheme 2097152

The filter matched an intent with the same data URI scheme.

MatchCategoryHost 3145728

The filter matched an intent with the same data URI scheme and authority host.

MatchCategoryPort 4194304

The filter matched an intent with the same data URI scheme and authority host and port.

MatchCategoryPath 5242880

The filter matched an intent with the same data URI scheme, authority, and path.

MatchCategorySchemeSpecificPart 5767168
MatchCategoryType 6291456

The filter matched an intent with the same data MIME type.

MatchCategoryMask 268369920

The part of a match constant that describes the category of match that occurred.

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.

Applies to