Android Guides | Samples

Android.Content.PM Namespace

Contains classes for accessing information about an application package, including information about its activities, permissions, services, signatures, and providers.

Remarks

Contains classes for accessing information about an application package, including information about its activities, permissions, services, signatures, and providers.

Most of the information about an application package is defined by its manifest file. For more information, see the AndroidManifest.xml File documentation.

Classes

TypeReason
ActivityInfoInformation you can retrieve about a particular application activity or receiver.
ActivityInfo+InterfaceConsts
ActivityInfoFlagsEnumerates values returned by several types.
ActivityPersistableModeEnumerates values returned by several types.
ApplicationInfoInformation you can retrieve about a particular application.
ApplicationInfo+DisplayNameComparator
ApplicationInfo+InterfaceConsts
ApplicationInfoFlagsEnumerates values returned by several types and taken as a parameter of the ApplicationErrorReport.GetErrorReportReceiver member.
ComponentEnabledStateEnumerates values returned by several types and taken as a parameter of several types.
ComponentEnableOptionEnumerates values returned by the ComponentEnableOption.DontKillApp, ComponentEnableOption.None, and PackageManager.DontKillApp members and taken as a parameter of several types.
ComponentInfoBase class containing information common to all application components (ActivityInfo, ServiceInfo).
ConfigChangesEnumerates values returned by several types and taken as a parameter of the Configuration.NeedNewResources, and Configuration.NeedNewResources members.
ConfigurationInfoInformation you can retrieve about hardware configuration preferences declared by an application.
ConfigurationInfo+InterfaceConsts
DocumentLaunchModeEnumerates values returned by several types.
FeatureFlagsEnumerates values returned by several types.
FeatureGroupInfoA set of features that can be requested by an application.
FeatureGroupInfo+InterfaceConsts
FeatureInfoA single feature that can be requested by an application.
FeatureInfo+InterfaceConsts
InputFeatureEnumerates values returned by several types.
InstrumentationInfoInformation you can retrieve about a particular piece of test instrumentation.
InstrumentationInfo+InterfaceConsts
LabeledIntentA special subclass of Intent that can have a custom label/icon associated with it.
LauncherActivityInfoA representation of an activity that can belong to this user or a managed profile associated with this user.
LauncherAppsClass for retrieving a list of launchable activities for the current user and any associated managed profiles.
LauncherApps+Callback
LaunchModeEnumerates values returned by several types.
PackageInfoOverall information about the contents of a package.
PackageInfo+InterfaceConsts
PackageInfoFlagsEnumerates values returned by several methods of PackageInfoFlags and taken as a parameter of several types.
PackageInstallerOffers the ability to install, upgrade, and remove applications on the device.
PackageInstaller+Session
PackageInstaller+SessionCallback
PackageInstaller+SessionInfo
PackageInstaller+SessionInfo+InterfaceConsts
PackageInstaller+SessionParams
PackageInstaller+SessionParams+InterfaceConsts
PackageInstallLocationEnumerates values returned by several types and taken as a parameter of the PackageInstaller+SessionParams.SetInstallLocation member.
PackageInstallModeEnumerates values returned by the PackageInstallMode.FullInstall, and PackageInstallMode.InheritExisting members and taken as a parameter of the Android.Content.PM.PackageInstaller.SessionParams..ctor member.
PackageInstallStatusEnumerates values returned by several methods of PackageInstallStatus.
PackageInstallVerificationEnumerates values returned by several types and taken as a parameter of several types.
PackageItemInfoBase class containing information common to all package items held by the package manager.
PackageItemInfo+DisplayNameComparator
PackageManagerClass for retrieving various kinds of information related to the application packages that are currently installed on the device.
PackageManager+NameNotFoundExceptionThis exception is thrown when a given package, application, or component name cannot be found.
PackageStatsimplementation of PackageStats associated with a application package.
PackageStats+InterfaceConsts
PathPermissionDescription of permissions needed to access a particular path in a ProviderInfo.
PermissionEnumerates values returned by several types and taken as a parameter of several types.
PermissionGroupInfoInformation you can retrieve about a particular security permission group known to the system.
PermissionGroupInfo+InterfaceConsts
PermissionGroupInfoFlagsEnumerates values returned by several types.
PermissionInfoInformation you can retrieve about a particular security permission known to the system.
PermissionInfo+InterfaceConsts
PermissionInfoFlagsEnumerates values returned by several types.
ProtectionEnumerates values returned by several types.
ProviderInfoHolds information about a specific ContentProvider.
ProviderInfo+InterfaceConsts
ProviderInfoFlagsEnumerates values returned by several types.
RequestedPermissionEnumerates values returned by several types.
ResolveInfoInformation that is returned from resolving an intent against an IntentFilter.
ResolveInfo+DisplayNameComparator
ResolveInfo+InterfaceConsts
ScreenOrientationEnumerates values returned by several types and taken as a parameter of the WebChromeClient.OnShowCustomView member.
ServiceInfoInformation you can retrieve about a particular application service.
ServiceInfo+InterfaceConsts
ServiceInfoFlagsEnumerates values returned by several types.
SignatureOpaque, immutable representation of a signing certificate associated with an application package.
Signature+InterfaceConsts
SignatureResultEnumerates values returned by several types.
UiOptionsEnumerates values returned by several types and taken as a parameter of the Window.SetUiOptions, Window.SetUiOptions, and Window.SetUiOptions members.