Android.Content.PM Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains classes for accessing information about an application package, including information about its activities, permissions, services, signatures, and providers.
Classes
| Name | Description |
|---|---|
| ActivityInfo |
Information you can retrieve about a particular application activity or receiver. |
| ActivityInfo.InterfaceConsts |
Provides the inherited parcelable constants for activity-information records. |
| ActivityInfo.WindowLayout |
Contains information about position and size of the activity on the display. |
| ApkChecksum |
A typed checksum of an APK. |
| ApkChecksum.InterfaceConsts |
Provides the inherited parcelable constants for APK-checksum records. |
| ApplicationInfo |
Information you can retrieve about a particular application. |
| ApplicationInfo.DisplayNameComparator |
Compares application labels with a collator, using package names when labels are unavailable. |
| ApplicationInfo.InterfaceConsts |
Provides the inherited parcelable constants for application-information records. |
| ArchivedActivityInfo |
Contains fields required to show archived package in Launcher. |
| ArchivedPackageInfo |
Contains fields required for archived package installation, i. |
| Attribution |
Information about an attribution declared by a package. |
| Attribution.InterfaceConsts |
Provides the inherited parcelable constants for attribution records. |
| Capability |
Represents a capability that can be performed by an app, also known as App Action. |
| Capability.Builder |
Builder class for |
| Capability.InterfaceConsts |
Provides the inherited parcelable constants for shortcut capabilities. |
| CapabilityParams |
Represents the parameters and its matching names which can be associated with a
|
| CapabilityParams.Builder |
Builder class for |
| CapabilityParams.InterfaceConsts |
Provides the inherited parcelable constants for shortcut-capability parameters. |
| ChangedPackages |
Packages that have been changed since the last time they were requested. |
| ChangedPackages.InterfaceConsts |
Provides the inherited parcelable constants for changed-package results. |
| Checksum |
A typed checksum. |
| Checksum.InterfaceConsts |
Provides the inherited parcelable constants for checksum values. |
| ComponentInfo |
Base class containing information common to all application components
( |
| ConfigurationInfo |
Information you can retrieve about hardware configuration preferences declared by an application. |
| ConfigurationInfo.InterfaceConsts |
Provides the inherited parcelable constants for configuration-requirement records. |
| CrossProfileApps |
Class for handling cross profile operations. |
| FeatureGroupInfo |
A set of features that can be requested by an application. |
| FeatureGroupInfo.InterfaceConsts |
Provides the inherited parcelable constants for feature-group records. |
| FeatureInfo |
Definition of a single optional hardware or software feature of an Android device. |
| FeatureInfo.InterfaceConsts |
Provides the inherited parcelable constants for feature records. |
| InstallSourceInfo |
Information about how an app was installed. |
| InstallSourceInfo.InterfaceConsts |
Provides the inherited parcelable constants for installation-source records. |
| InstrumentationInfo |
Information you can retrieve about a particular piece of test instrumentation. |
| InstrumentationInfo.InterfaceConsts |
Provides the inherited parcelable constants for instrumentation-information records. |
| LabeledIntent |
A special subclass of Intent that can have a custom label/icon associated with it. |
| LauncherActivityInfo |
A representation of an activity that can belong to this user or a managed profile associated with this user. |
| LauncherApps |
Class for retrieving a list of launchable activities for the current user and any associated
managed profiles that are visible to the current user, which can be retrieved with
|
| LauncherApps.ArchiveCompatibilityParams |
Used to enable Archiving compatibility options with |
| LauncherApps.Callback |
Callbacks for package changes to this and related managed profiles. |
| LauncherApps.PinItemRequest |
Represents a "pin shortcut" or a "pin appwidget" request made by an app, which is sent with
an |
| LauncherApps.PinItemRequest.InterfaceConsts |
Provides the inherited parcelable constants for launcher pin-item requests. |
| LauncherApps.ShortcutQuery |
Represents a query passed to |
| LauncherUserInfo |
The LauncherUserInfo object holds information about an Android user that is required to display the Launcher related UI elements specific to the user (like badges). |
| LauncherUserInfo.InterfaceConsts |
Provides the inherited parcelable constants for launcher user-information records. |
| MemoryBudgetInfo |
Memory budget information for an application. |
| MemoryBudgetInfo.InterfaceConsts |
Provides the inherited parcelable constants for memory-budget records. |
| ModuleInfo |
Information you can retrieve about a particular system module. |
| ModuleInfo.InterfaceConsts |
Provides the inherited parcelable constants for module-information records. |
| PackageInfo |
Overall information about the contents of a package. |
| PackageInfo.InterfaceConsts |
Provides the inherited parcelable constants for package-information records. |
| PackageInstaller |
Offers the ability to install, upgrade, and remove applications on the device. |
| PackageInstaller.InstallConstraints |
A class to encapsulate constraints for installation. |
| PackageInstaller.InstallConstraints.Builder |
Builder class for constructing InstallConstraints. |
| PackageInstaller.InstallConstraints.InterfaceConsts |
Provides the inherited parcelable constants for installation constraints. |
| PackageInstaller.InstallConstraintsResult |
The callback result of |
| PackageInstaller.InstallConstraintsResult.InterfaceConsts |
Provides the inherited parcelable constants for installation-constraint results. |
| PackageInstaller.PreapprovalDetails |
Details for requesting the pre-commit install approval. |
| PackageInstaller.PreapprovalDetails.Builder |
A builder for PreapprovalDetails |
| PackageInstaller.PreapprovalDetails.InterfaceConsts |
Provides the inherited parcelable constants for installation-preapproval details. |
| PackageInstaller.Session |
An installation that is being actively staged. |
| PackageInstaller.SessionCallback |
Events for observing session lifecycle. |
| PackageInstaller.SessionInfo |
Details for an active install session. |
| PackageInstaller.SessionInfo.InterfaceConsts |
Provides the inherited parcelable constants for installation-session information. |
| PackageInstaller.SessionParams |
Parameters for creating a new |
| PackageInstaller.SessionParams.InterfaceConsts |
Provides the inherited parcelable constants for installation-session parameters. |
| PackageInstaller.UnarchivalState |
Used to communicate the unarchival state in |
| PackageItemInfo |
Base class containing information common to all package items held by the package manager. |
| PackageItemInfo.DisplayNameComparator |
Compares package-item labels with a collator, using item names when labels are unavailable. |
| PackageManager |
Class for retrieving various kinds of information related to the application packages that are currently installed on the device. |
| PackageManager.ApplicationInfoFlags |
Specific flags used for retrieving application info. |
| PackageManager.ChecksumsReadyEventArgs |
Carries APK checksum results for a checksums-ready notification. |
| PackageManager.ComponentEnabledSetting |
The class containing the enabled setting of a package component. |
| PackageManager.ComponentEnabledSetting.InterfaceConsts |
Provides the inherited parcelable constants for component-enabled settings. |
| PackageManager.ComponentInfoFlags |
Specific flags used for retrieving component info. |
| PackageManager.NameNotFoundException |
This exception is thrown when a given package, application, or component name cannot be found. |
| PackageManager.PackageInfoFlags |
Specific flags used for retrieving package info. |
| PackageManager.Property |
A property value set within the manifest. |
| PackageManager.Property.InterfaceConsts |
Provides the inherited parcelable constants for package-manager properties. |
| PackageManager.ResolveInfoFlags |
Specific flags used for retrieving resolve info. |
| PackageStats |
implementation of PackageStats associated with a application package. |
| PackageStats.InterfaceConsts |
Provides the inherited parcelable constants for package-statistics records. |
| PathPermission |
Description of permissions needed to access a particular path
in a |
| PermissionGroupInfo |
Information you can retrieve about a particular security permission group known to the system. |
| PermissionGroupInfo.InterfaceConsts |
Provides the inherited parcelable constants for permission-group records. |
| PermissionInfo |
Information you can retrieve about a particular security permission known to the system. |
| PermissionInfo.InterfaceConsts |
Provides the inherited parcelable constants for permission records. |
| ProviderInfo |
Holds information about a specific
|
| ProviderInfo.InterfaceConsts |
Provides the inherited parcelable constants for content-provider records. |
| ResolveInfo |
Information that is returned from resolving an intent against an IntentFilter. |
| ResolveInfo.DisplayNameComparator |
Compares resolution results by target user and, for two current-user results, by loaded labels or activity names. |
| ResolveInfo.InterfaceConsts |
Provides the inherited parcelable constants for intent-resolution results. |
| ServiceInfo |
Information you can retrieve about a particular application service. |
| ServiceInfo.InterfaceConsts |
Provides the inherited parcelable constants for service-information records. |
| SharedLibraryInfo |
This class provides information for a shared library. |
| SharedLibraryInfo.InterfaceConsts |
Provides the inherited parcelable constants for shared-library records. |
| ShortcutInfo |
Represents a shortcut that can be published via |
| ShortcutInfo.Builder |
Builder class for |
| ShortcutInfo.InterfaceConsts |
Provides the inherited parcelable constants for shortcut-information records. |
| ShortcutManager |
|
| Signature |
Opaque, immutable representation of a signing certificate associated with an application package. |
| Signature.InterfaceConsts |
Provides the inherited parcelable constants for package signatures. |
| SigningInfo |
Information pertaining to the signing certificates used to sign a package. |
| SigningInfo.InterfaceConsts |
Provides the inherited parcelable constants for signing-information records. |
| SigningInfoException |
Indicates an error when verifying the app signing information. |
| VersionedPackage |
Encapsulates a package and its version code. |
| VersionedPackage.InterfaceConsts |
Provides the inherited parcelable constants for versioned-package records. |
Interfaces
| Name | Description |
|---|---|
| PackageManager.IOnChecksumsReadyListener |
Listener that gets notified when checksums are available. |
Enums
| Name | Description |
|---|---|
| ActivityColorMode |
Specifies the color-mode request for an activity or window. |
| ActivityInfoFlags |
Enumerates values returned by several types. |
| ActivityPersistableMode |
Enumerates values returned by several types. |
| ApplicationCategories |
Identifies application categories used to group apps and obtain localized category titles. |
| ApplicationInfoFlags |
Enumerates values returned by several types and taken as a parameter of the F:Android.App.ApplicationErrorReport.GetErrorReportReceiver member. |
| ApplicationInfoMemtag |
Specifies the application's requested native memory-tagging mode. |
| ApplicationInfoZeroInit |
Specifies the application's native-heap zero-initialization request. |
| CertificateType |
Identifies the certificate-data format supplied to signing-certificate queries. |
| ChecksumType |
Identifies APK checksum algorithms and their request-mask bits. |
| ComponentEnabledState |
Enumerates values returned by several types and taken as a parameter of several types. |
| ComponentEnableOption |
Enumerates values returned by the DontKillApp, None, and DontKillApp members and taken as a parameter of several types. |
| ConfigChanges |
Enumerates values returned by several types and taken as a parameter of the F:Android.Content.Res.Configuration.NeedNewResources, and F:Android.Content.Res.Configuration.NeedNewResources members. |
| DocumentLaunchMode |
Enumerates values returned by several types. |
| FeatureFlags |
Enumerates values returned by several types. |
| FlagPermission |
Selects restricted-permission allowlists owned by the system, installer, or upgrade process. |
| ForegroundService |
Identifies foreground-service types and their special request values. |
| GwpAsan |
Specifies the application's requested GWP-ASan policy. |
| InputFeature |
Enumerates values returned by several types. |
| InstallReason |
Identifies why an existing package is being installed for a user. |
| LauncherAppsShortcutQueryFlags |
Selects shortcut categories and result detail for launcher shortcut queries. |
| LaunchMode |
Enumerates values returned by several types. |
| MemoryBudgetInfoFeature |
Identifies the device feature associated with a memory-budget record. |
| MemoryBudgetInfoState |
Identifies the application state associated with a memory-budget record. |
| PackageInfoFlags |
Enumerates values returned by several methods of PackageInfoFlags and taken as a parameter of several types. |
| PackageInfoFlagsLong |
Specifies the 64-bit package-information query flags accepted by the managed flag-wrapper factory. |
| PackageInstallerDeveloperVerificationFailedReason |
Identifies a reported reason for developer-verification failure during installation. |
| PackageInstallerPermissionState |
Specifies a permission-state request in package-installer session parameters. |
| PackageInstallerUnarchival |
Identifies the status reported for a package-unarchival operation. |
| PackageInstallLocation |
Enumerates values returned by several types and taken as a parameter of the F:Android.Content.PM.PackageInstaller+SessionParams.SetInstallLocation member. |
| PackageInstallMode |
Enumerates values returned by the FullInstall, and InheritExisting members and taken as a parameter of the F:Android.Content.PM.PackageInstaller+SessionParams..ctor member. |
| PackageInstallReason |
Identifies the installation reason recorded by package-installer session information and parameters. |
| PackageInstallScenario |
Specifies the installation scenario supplied in session parameters. |
| PackageInstallStatus |
Enumerates values returned by several methods of PackageInstallStatus. |
| PackageInstallUserAction |
Specifies the requested user-action policy for an installation session. |
| PackageInstallVerification |
Enumerates values returned by several types and taken as a parameter of several types. |
| PackageManagerUninstallFlags |
Specifies package-removal options exposed by this managed binding. |
| PackageSource |
Identifies the reported source category of an application package. |
| Permission |
Enumerates values returned by several types and taken as a parameter of several types. |
| PermissionGroupInfoFlags |
Enumerates values returned by several types. |
| PermissionInfoFlags |
Enumerates values returned by several types. |
| PinItemRequestType |
Identifies whether a launcher pin-item request concerns a shortcut or an app widget. |
| Protection |
Enumerates values returned by several types. |
| ProviderInfoFlags |
Enumerates values returned by several types. |
| RawExternalStorageAccess |
Identifies the application's manifest request for raw external-storage access. |
| RequestedPermission |
Enumerates values returned by several types. |
| ScreenOrientation |
Enumerates values returned by several types and taken as a parameter of the F:Android.Webkit.WebChromeClient.OnShowCustomView member. |
| ServiceInfoFlags |
Enumerates values returned by several types. |
| SessionStatus |
Identifies package-installer session error codes. |
| SharedLibraryType |
Identifies a shared library as built-in, dynamic, static, or supplied by an SDK package. |
| ShortcutDisabledReason |
Identifies why a shortcut is disabled, or that it is not disabled. |
| ShortcutManagerMatchFlags |
Selects the categories returned by shortcut-manager queries. |
| ShortcutSurface |
Identifies shortcut surfaces for surface-exclusion settings. |
| SignatureResult |
Enumerates values returned by several types. |
| SigningInfoVersion |
Identifies the APK signing-scheme version reported by signing information. |
| StagedSession |
Identifies error codes for staged package-installer sessions. |
| UiOptions |
Enumerates values returned by several types and taken as a parameter of the F:Android.Views.Window.SetUiOptions, F:Android.Views.Window.SetUiOptions, and F:Android.Views.Window.SetUiOptions members. |