Android.Content.PM.PackageInfo Members

The members of Android.Content.PM.PackageInfo are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
RequestedPermissionGrantedRequestedPermission (2). Flag for PackageInfo.RequestedPermissionsFlags: the requested permission is currently granted to the application.
const
RequestedPermissionRequiredRequestedPermission (1). Flag for PackageInfo.RequestedPermissionsFlags: the requested permission is required for the application to run; the user can not optionally disable it.

Public Properties

ActivitiesIList<ActivityInfo>. Array of all NoType:android/R$styleable;Href=../../../../reference/android/R.styleable.html#AndroidManifestActivity tags included under <application>, or null if there were none.
ApplicationInfoApplicationInfo. Information collected from the <application> tag, or null if there was none.
ConfigPreferencesIList<ConfigurationInfo>. Application specified preferred configuration NoType:android/R$styleable;Href=../../../../reference/android/R.styleable.html#AndroidManifestUsesConfiguration tags included under <manifest>, or null if there were none.
[read-only]
static
CreatorAndroid.OS.IParcelableCreator.
FeatureGroupsIList<FeatureGroupInfo>. Groups of features that this application has requested.
FirstInstallTimelong. The time at which the app was first installed.
GidsIList<int>. All kernel group-IDs that have been assigned to this package.
InstallLocationPackageInstallLocation. The install location requested by the package.
InstrumentationIList<InstrumentationInfo>. Array of all NoType:android/R$styleable;Href=../../../../reference/android/R.styleable.html#AndroidManifestInstrumentation tags included under <manifest>, or null if there were none.
LastUpdateTimelong. The time at which the app was last updated.
PackageNamestring. The name of this package.
PermissionsIList<PermissionInfo>. Array of all NoType:android/R$styleable;Href=../../../../reference/android/R.styleable.html#AndroidManifestPermission tags included under <manifest>, or null if there were none.
ProvidersIList<ProviderInfo>. Array of all NoType:android/R$styleable;Href=../../../../reference/android/R.styleable.html#AndroidManifestProvider tags included under <application>, or null if there were none.
ReceiversIList<ActivityInfo>. Array of all NoType:android/R$styleable;Href=../../../../reference/android/R.styleable.html#AndroidManifestReceiver tags included under <application>, or null if there were none.
ReqFeaturesIList<FeatureInfo>. Features that this application has requested.
RequestedPermissionsIList<string>. Array of all NoType:android/R$styleable;Href=../../../../reference/android/R.styleable.html#AndroidManifestUsesPermission tags included under <manifest>, or null if there were none.
RequestedPermissionsFlagsIList<int>. Array of flags of all NoType:android/R$styleable;Href=../../../../reference/android/R.styleable.html#AndroidManifestUsesPermission tags included under <manifest>, or null if there were none.
ServicesIList<ServiceInfo>. Array of all NoType:android/R$styleable;Href=../../../../reference/android/R.styleable.html#AndroidManifestService tags included under <application>, or null if there were none.
SharedUserIdstring. The shared user ID name of this package, as specified by the <manifest> tag's NoType:android/R$styleable;Href=../../../../reference/android/R.styleable.html#AndroidManifest_sharedUserId attribute.
SharedUserLabelint. The shared user ID label of this package, as specified by the <manifest> tag's NoType:android/R$styleable;Href=../../../../reference/android/R.styleable.html#AndroidManifest_sharedUserLabel attribute.
SignaturesIList<Signature>. Array of all signatures read from the package file.
SplitNamesIList<string>. The names of any installed split APKs for this package.
VersionCodeint. The version number of this package, as specified by the <manifest> tag's NoType:android/R$styleable;Href=../../../../reference/android/R.styleable.html#AndroidManifest_versionCode attribute.
VersionNamestring. The version name of this package, as specified by the <manifest> tag's NoType:android/R$styleable;Href=../../../../reference/android/R.styleable.html#AndroidManifest_versionName attribute.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

DescribeContents() : int
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
WriteToParcel(Android.OS.Parcel, Android.OS.ParcelableWriteFlags)
Flatten this object in to a Parcel.