Android.App.ActivityManager.DumpPackageState Method
Perform a system dump of various state associated with the given application package name.

Syntax

[Android.Runtime.Register("dumpPackageState", "(Ljava/io/FileDescriptor;Ljava/lang/String;)V", "GetDumpPackageState_Ljava_io_FileDescriptor_Ljava_lang_String_Handler")]
public virtual void DumpPackageState (Java.IO.FileDescriptor fd, string packageName)

Parameters

fd
The file descriptor that the dump should be written to. The file descriptor is not closed by this function; the caller continues to own it.
packageName
The name of the package that is to be dumped.

Remarks

Perform a system dump of various state associated with the given application package name. This call blocks while the dump is being performed, so should not be done on a UI thread. The data will be written to the given file descriptor as text. An application must hold the NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#DUMP permission to make this call.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1