Język

PackageInfoFlagsLong Enum

Definition

Specifies the 64-bit package-information query flags accepted by the managed flag-wrapper factory.

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
GetAttributions -2147483648

Legacy attribution-query value that sign-extends when converted to 64 bits; use GetAttributionsLong instead.

None 0

Selects no additional package-query flag bits.

GetActivities 1

Requests the package's activity declarations.

GetReceivers 2

Requests the package's broadcast-receiver declarations.

GetServices 4

Requests the package's service declarations.

GetProviders 8

Requests the package's content-provider declarations.

GetInstrumentation 16

Requests the package's instrumentation declarations.

GetIntentFilters 32

Obsolete intent-filter information request that the platform no longer supports.

GetSignatures 64

Requests legacy signing-certificate information; use GetSigningCertificates for rotation-aware information.

GetMetaData 128

Requests metadata bundles for returned component records.

GetGids 256

Requests the package's assigned kernel group identifiers.

GetDisabledComponents 512

Legacy name for including disabled components; use MatchDisabledComponents instead.

MatchDisabledComponents 512

Includes disabled components in the returned information.

GetSharedLibraryFiles 1024

Requests shared-library paths for returned application records.

GetUriPermissionPatterns 2048

Requests the URI-permission patterns of returned provider records.

GetPermissions 4096

Requests the package's defined and requested permissions.

GetUninstalledPackages 8192

Legacy name for querying packages with retained data after removal; use MatchUninstalledPackages instead.

MatchUninstalledPackages 8192

Requests retained-data records for removed packages, subject to the query's package-visibility requirements.

GetConfigurations 16384

Requests configuration preferences, individual feature requirements, and feature groups.

GetDisabledUntilUsedComponents 32768

Legacy name for including components disabled until first use; use MatchDisabledUntilUsedComponents instead.

MatchDisabledUntilUsedComponents 32768

Includes components disabled only until first use and reports them as enabled.

MatchSystemOnly 1048576

Restricts matches to components belonging to system applications.

GetSigningCertificates 134217728

Requests signing-certificate information that supports certificate-rotation history.

MatchApex 1073741824

Includes APEX packages in package-information results.

GetAttributionsLong 2147483648

Requests attribution information with the correctly widened attribution flag.

Remarks

Use these values with the enum overload of PackageManager.PackageInfoFlags.Of. For attribution information, use GetAttributionsLong rather than the obsolete sign-extended GetAttributions value.

Applies to