ApplicationInfo Class
Definition
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.
Information you can retrieve about a particular application.
[Android.Runtime.Register("android/content/pm/ApplicationInfo", DoNotGenerateAcw=true)]
public class ApplicationInfo : Android.Content.PM.PackageItemInfo, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/content/pm/ApplicationInfo", DoNotGenerateAcw=true)>]
type ApplicationInfo = class
inherit PackageItemInfo
interface IParcelable
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- Inheritance
- Attributes
- Implements
Remarks
Information you can retrieve about a particular application. This corresponds to information collected from the AndroidManifest.xml's <application> tag.
Java documentation for android.content.pm.ApplicationInfo
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Constructors
ApplicationInfo() | |
ApplicationInfo(ApplicationInfo) | |
ApplicationInfo(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Fields
CategoryAccessibility |
Obsolete.
Category for apps which are primarily accessibility apps, such as screen-readers. |
GwpAsanAlways |
Obsolete.
Always enable GWP-ASan in this application or process. |
GwpAsanDefault |
Obsolete.
Default (unspecified) setting of GWP-ASan. |
GwpAsanNever |
Obsolete.
Never enable GWP-ASan in this application or process. |
MemtagAsync |
Obsolete.
Enable Memtag in Async mode in this application or process. |
MemtagDefault |
Obsolete.
Default (unspecified) setting of Memtag. |
MemtagOff |
Obsolete.
Do not enable Memtag in this application or process. |
MemtagSync |
Obsolete.
Enable Memtag in Sync mode in this application or process. |
RawExternalStorageAccessDefault |
Obsolete.
Use default value for
|
RawExternalStorageAccessNotRequested |
Obsolete.
Raw external storage was not requested by this app. |
RawExternalStorageAccessRequested |
Obsolete.
Raw external storage was requested by this app. |
ZeroinitDefault |
Obsolete.
Default (unspecified) setting of nativeHeapZeroInitialized. |
ZeroinitDisabled |
Obsolete.
Disable zero-initialization of the native heap in this application or process. |
ZeroinitEnabled |
Obsolete.
Enable zero-initialization of the native heap in this application or process. |
Properties
AppComponentFactory |
The factory of this package, as specified by the <manifest>
tag's |
BackupAgentName |
Class implementing the Application's backup functionality. |
Banner |
A drawable resource identifier (in the package's resources) of this component's banner. (Inherited from PackageItemInfo) |
Category | |
Class |
Returns the runtime class of this |
ClassName |
Class implementing the Application object. |
CompatibleWidthLimitDp |
The maximum smallest screen width the application is designed for. |
CompileSdkVersion |
The user-visible SDK version (ex. |
CompileSdkVersionCodename |
The development codename (ex. |
Creator | |
DataDir |
Full path to the default directory assigned to the package for its persistent data. |
DescriptionRes |
A style resource identifier (in the package's resources) of the description of an application. |
DeviceProtectedDataDir |
Full path to the device-protected directory assigned to the package for its persistent data. |
Enabled |
When false, indicates that all components within this application are considered disabled, regardless of their individually set enabled status. |
Flags |
Flags associated with the application. |
GwpAsanMode | |
Handle |
The handle to the underlying Android instance. (Inherited from Object) |
Icon |
A drawable resource identifier (in the package's resources) of this component's icon. (Inherited from PackageItemInfo) |
IsProfileable |
Returns whether this application can be profiled, either by the shell user or the system. |
IsProfileableByShell |
Returns whether or not this application can be profiled by the shell user, even when running on a device that is running in user mode. |
IsResourceOverlay |
Returns true if the package has declared in its manifest that it is a runtime resource overlay. |
IsVirtualPreload |
Returns whether or not this application was installed as a virtual preload. |
JniIdentityHashCode | (Inherited from Object) |
JniPeerMembers | |
KnownActivityEmbeddingCerts |
Gets the trusted host certificate digests of apps that are allowed to embed activities of this application. |
LabelRes |
A string resource identifier (in the package's resources) of this component's label. (Inherited from PackageItemInfo) |
LargestWidthLimitDp |
The maximum smallest screen width the application will work on. |
Logo |
A drawable resource identifier (in the package's resources) of this component's logo. (Inherited from PackageItemInfo) |
ManageSpaceActivityName |
Class implementing the Application's manage space functionality. |
MemtagMode |
Returns whether the application has requested Memtag to be enabled, disabled, or left unspecified. |
MetaData |
Additional meta-data associated with this component. (Inherited from PackageItemInfo) |
MinSdkVersion |
The minimum SDK version this application can run on. |
Name |
Public name of this item. (Inherited from PackageItemInfo) |
NativeHeapZeroInitialized |
Returns whether the application has requested automatic zero-initialization of native heap memory allocations to be enabled or disabled. |
NativeLibraryDir |
Full path to the directory where native JNI libraries are stored. |
NonLocalizedLabel |
The string provided in the AndroidManifest file, if any. (Inherited from PackageItemInfo) |
PackageName |
Name of the package that this item is in. (Inherited from PackageItemInfo) |
PeerReference | (Inherited from Object) |
Permission |
Optional name of a permission required to be able to access this application's components. |
ProcessName |
The name of the process this application should run in. |
PublicSourceDir |
Full path to the publicly available parts of |
RequestRawExternalStorageAccess | |
RequiresSmallestWidthDp |
The required smallest screen width the application can run on. |
SharedLibraryFiles |
Paths to all shared libraries this application is linked against. |
SourceDir |
Full path to the base APK for this application. |
SplitNames |
The names of all installed split APKs, ordered lexicographically. |
SplitPublicSourceDirs |
Full path to the publicly available parts of |
SplitSourceDirs |
Full paths to split APKs, indexed by the same order as |
StorageUuid |
UUID of the storage volume on which this application is being hosted. |
TargetSdkVersion |
The minimum SDK version this application targets. |
TaskAffinity |
Default task affinity of all activities in this application. |
Theme |
A style resource identifier (in the package's resources) of the default visual theme of the application. |
ThresholdClass |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
ThresholdType |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Uid |
The kernel user-ID that has been assigned to this application; currently this is not a unique ID (multiple applications can have the same uid). |
UiOptions |
The default extra UI options for activities in this application. |
Methods
AreAttributionsUserVisible() |
Returns whether attributions provided by the application are meant to be user-visible. |
Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
DescribeContents() |
Describe the kinds of special objects contained in this Parcelable's marshalled representation. |
Dispose() | (Inherited from Object) |
Dispose(Boolean) | (Inherited from Object) |
Dump(IPrinter, String) | |
DumpBack(IPrinter, String) | (Inherited from PackageItemInfo) |
DumpFront(IPrinter, String) | (Inherited from PackageItemInfo) |
Equals(Object) |
Indicates whether some other object is "equal to" this one. (Inherited from Object) |
GetCategoryTitle(Context, ApplicationCategories) |
Return a concise, localized title for the given
|
GetCategoryTitleFormatted(Context, ApplicationCategories) |
Return a concise, localized title for the given
|
GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
JavaFinalize() |
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) |
LoadBanner(PackageManager) |
Retrieve the current graphical banner associated with this item. (Inherited from PackageItemInfo) |
LoadDescription(PackageManager) |
Retrieve the textual description of the application. |
LoadDescriptionFormatted(PackageManager) |
Retrieve the textual description of the application. |
LoadIcon(PackageManager) |
Retrieve the current graphical icon associated with this item. (Inherited from PackageItemInfo) |
LoadLabel(PackageManager) |
Retrieve the current textual label associated with this item. (Inherited from PackageItemInfo) |
LoadLabelFormatted(PackageManager) |
Retrieve the current textual label associated with this item. (Inherited from PackageItemInfo) |
LoadLogo(PackageManager) |
Retrieve the current graphical logo associated with this item. (Inherited from PackageItemInfo) |
LoadUnbadgedIcon(PackageManager) |
Retrieve the current graphical icon associated with this item without the addition of a work badge if applicable. (Inherited from PackageItemInfo) |
LoadXmlMetaData(PackageManager, String) |
Load an XML resource attached to the meta-data of this item. (Inherited from PackageItemInfo) |
Notify() |
Wakes up a single thread that is waiting on this object's monitor. (Inherited from Object) |
NotifyAll() |
Wakes up all threads that are waiting on this object's monitor. (Inherited from Object) |
SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
ToArray<T>() | (Inherited from Object) |
ToString() |
Returns a string representation of the object. (Inherited from Object) |
UnregisterFromRuntime() | (Inherited from Object) |
Wait() |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>. (Inherited from Object) |
Wait(Int64, Int32) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Wait(Int64) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
WriteToParcel(Parcel, ParcelableWriteFlags) | (Inherited from PackageItemInfo) |
Explicit Interface Implementations
IJavaPeerable.Disposed() | (Inherited from Object) |
IJavaPeerable.DisposeUnlessReferenced() | (Inherited from Object) |
IJavaPeerable.Finalized() | (Inherited from Object) |
IJavaPeerable.JniManagedPeerState | (Inherited from Object) |
IJavaPeerable.SetJniIdentityHashCode(Int32) | (Inherited from Object) |
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from Object) |
IJavaPeerable.SetPeerReference(JniObjectReference) | (Inherited from Object) |
Extension Methods
JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) |