共用方式為


Android.Content.PM Namespace

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

Classes

ActivityInfo

Information you can retrieve about a particular application activity or receiver.

ActivityInfo.InterfaceConsts
ActivityInfo.WindowLayout

Contains information about position and size of the activity on the display.

ApkChecksum

A typed checksum of an APK.

ApkChecksum.InterfaceConsts
ApplicationInfo

Information you can retrieve about a particular application.

ApplicationInfo.DisplayNameComparator
ApplicationInfo.InterfaceConsts
Attribution

Information about an attribution declared by a package.

Attribution.InterfaceConsts
Capability

Represents a capability that can be performed by an app, also known as App Action.

Capability.Builder

Builder class for Capability.

Capability.InterfaceConsts
CapabilityParams

Represents the parameters and its matching names which can be associated with a Capability.

CapabilityParams.Builder

Builder class for CapabilityParams.

CapabilityParams.InterfaceConsts
ChangedPackages

Packages that have been changed since the last time they were requested.

ChangedPackages.InterfaceConsts
Checksum

A typed checksum.

Checksum.InterfaceConsts
ComponentInfo

Base class containing information common to all application components (ActivityInfo, ServiceInfo).

ConfigurationInfo

Information you can retrieve about hardware configuration preferences declared by an application.

ConfigurationInfo.InterfaceConsts
CrossProfileApps

Class for handling cross profile operations.

FeatureGroupInfo

A set of features that can be requested by an application.

FeatureGroupInfo.InterfaceConsts
FeatureInfo

Definition of a single optional hardware or software feature of an Android device.

FeatureInfo.InterfaceConsts
InstallSourceInfo

Information about how an app was installed.

InstallSourceInfo.InterfaceConsts
InstrumentationInfo

Information you can retrieve about a particular piece of test instrumentation.

InstrumentationInfo.InterfaceConsts
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 #getProfiles.

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 #ACTION_CONFIRM_PIN_SHORTCUT or #ACTION_CONFIRM_PIN_APPWIDGET intent respectively to the default launcher app.

LauncherApps.PinItemRequest.InterfaceConsts
LauncherApps.ShortcutQuery

Represents a query passed to #getShortcuts(ShortcutQuery, UserHandle).

ModuleInfo

Information you can retrieve about a particular system module.

ModuleInfo.InterfaceConsts
PackageInfo

Overall information about the contents of a package.

PackageInfo.InterfaceConsts
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
PackageInstaller.InstallConstraints.InterfaceConsts
PackageInstaller.InstallConstraintsResult

The callback result of #checkInstallConstraints(List, InstallConstraints, Executor, Consumer).

PackageInstaller.InstallConstraintsResult.InterfaceConsts
PackageInstaller.PreapprovalDetails

Details for requesting the pre-commit install approval.

PackageInstaller.PreapprovalDetails.Builder
PackageInstaller.PreapprovalDetails.InterfaceConsts
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
PackageInstaller.SessionParams

Parameters for creating a new PackageInstaller.Session.

PackageInstaller.SessionParams.InterfaceConsts
PackageItemInfo

Base class containing information common to all package items held by the package manager.

PackageItemInfo.DisplayNameComparator
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
PackageManager.ComponentEnabledSetting

The class containing the enabled setting of a package component.

PackageManager.ComponentEnabledSetting.InterfaceConsts
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
PackageManager.ResolveInfoFlags

Specific flags used for retrieving resolve info.

PackageStats

implementation of PackageStats associated with a application package.

PackageStats.InterfaceConsts
PathPermission

Description of permissions needed to access a particular path in a ProviderInfo.

PermissionGroupInfo

Information you can retrieve about a particular security permission group known to the system.

PermissionGroupInfo.InterfaceConsts
PermissionInfo

Information you can retrieve about a particular security permission known to the system.

PermissionInfo.InterfaceConsts
ProviderInfo

Holds information about a specific android.content.ContentProvider content provider.

ProviderInfo.InterfaceConsts
ResolveInfo

Information that is returned from resolving an intent against an IntentFilter.

ResolveInfo.DisplayNameComparator
ResolveInfo.InterfaceConsts
ServiceInfo

Information you can retrieve about a particular application service.

ServiceInfo.InterfaceConsts
SharedLibraryInfo

This class provides information for a shared library.

SharedLibraryInfo.InterfaceConsts
ShortcutInfo

Represents a shortcut that can be published via ShortcutManager.

ShortcutInfo.Builder

Builder class for ShortcutInfo objects.

ShortcutInfo.InterfaceConsts
ShortcutManager

ShortcutManager executes operations on an app's set of shortcuts, which represent specific tasks and actions that users can perform within your app.

Signature

Opaque, immutable representation of a signing certificate associated with an application package.

Signature.InterfaceConsts
SigningInfo

Information pertaining to the signing certificates used to sign a package.

SigningInfo.InterfaceConsts
VersionedPackage

Encapsulates a package and its version code.

VersionedPackage.InterfaceConsts

Interfaces

PackageManager.IOnChecksumsReadyListener

Listener that gets notified when checksums are available.

Enums

ActivityColorMode
ActivityInfoFlags

Enumerates values returned by several types.

ActivityPersistableMode

Enumerates values returned by several types.

ApplicationCategories
ApplicationInfoFlags

Enumerates values returned by several types and taken as a parameter of the F:Android.App.ApplicationErrorReport.GetErrorReportReceiver member.

ApplicationInfoMemtag
ApplicationInfoZeroInit
CertificateType
ChecksumType
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
ForegroundService
GwpAsan
InputFeature

Enumerates values returned by several types.

InstallReason
LauncherAppsShortcutQueryFlags
LaunchMode

Enumerates values returned by several types.

PackageInfoFlags

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

PackageInfoFlagsLong
PackageInstallerPermissionState
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
PackageInstallScenario
PackageInstallStatus

Enumerates values returned by several methods of PackageInstallStatus.

PackageInstallUserAction
PackageInstallVerification

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

PackageSource
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
Protection

Enumerates values returned by several types.

ProviderInfoFlags

Enumerates values returned by several types.

RawExternalStorageAccess
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
SharedLibraryType
ShortcutDisabledReason
ShortcutManagerMatchFlags
ShortcutSurface
SignatureResult

Enumerates values returned by several types.

StagedSession
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.