Freigeben über


PackageInfoFlags Enum

Definition

Enumerates values returned by several methods of PackageInfoFlags and taken as a parameter of several types.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum PackageInfoFlags
[<System.Flags>]
type PackageInfoFlags = 
Inheritance
PackageInfoFlags
Attributes

Fields

Name Value Description
Attributions -2147483648
Activities 1

PackageInfo flag: return information about activities in the package in Activities.

Receivers 2

PackageInfo flag: return information about intent receivers in the package in Receivers.

Services 4

PackageInfo flag: return information about services in the package in Services.

Providers 8

PackageInfo flag: return information about content providers in the package in Providers.

Instrumentation 16

PackageInfo flag: return information about instrumentation in the package in Instrumentation.

IntentFilters 32

PackageInfoflag: return information about the intent filters supported by the activity.

ResolvedFilter 64

ResolveInfo flag: return the IntentFilter that was matched for a particular ResolveInfo in Filter.

Signatures 64

PackageInfoflag: return information about the signatures included in the package.

MetaData 128
Gids 256
DisabledComponents 512

PackageInfoflag: include disabled components in the returned info.

MatchDisabledComponents 512
SharedLibraryFiles 1024
UriPermissionPatterns 2048
Permissions 4096

PackageInfo flag: return information about permissions in the package in Permissions.

MatchUninstalledPackages 8192
UninstalledPackages 8192
Configurations 16384
DisabledUntilUsedComponents 32768
MatchDisabledUntilUsedComponents 32768
MatchDefaultOnly 65536

Resolution and querying flag: if set, only filters that support the CategoryDefaultwill be considered for matching.

MatchAll 131072
MatchDirectBootUnaware 262144
MatchDirectBootAware 524288
MatchSystemOnly 1048576
SigningCertificates 134217728

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