Android.App.ActivityManager Members

The members of Android.App.ActivityManager are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

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

Public Fields

const
MetaHomeAlternatestring. <meta-data> name for a 'home' Activity that declares a package that is to be uninstalled in lieu of the declaring one.

Public Properties

[read-only]
AppTasksIList<ActivityManager.AppTask>. Get the list of tasks associated with the calling application.
[read-only]
AppTaskThumbnailSizeAndroid.Util.Size. Return the current design dimensions for NoType:android/app/ActivityManager$AppTask;Href=../../../reference/android/app/ActivityManager.AppTask.html thumbnails, for use with ActivityManager.AddAppTask(Activity, Android.Content.Intent, Android.Content.Intent, Android.Content.Intent).
[read-only]
DeviceConfigurationInfoAndroid.Content.PM.ConfigurationInfo. Get the device configuration attributes.
[read-only]
IsInLockTaskModebool. Return whether currently in lock task mode.
[read-only]
IsLowRamDevicebool. Returns true if this is a low-RAM device.
[read-only]
static
IsRunningInTestHarnessbool. Returns "true" if device is running in a test harness.
[read-only]
static
IsUserAMonkeybool. Returns "true" if the user interface is currently being messed with by a monkey.
[read-only]
LargeMemoryClassint. Return the approximate per-application memory class of the current device when an application is running with a large heap.
[read-only]
LauncherLargeIconDensityint. Get the preferred density of icons for the launcher.
[read-only]
LauncherLargeIconSizeint. Get the preferred launcher icon size.
[read-only]
MemoryClassint. Return the approximate per-application memory class of the current device.
[read-only]
ProcessesInErrorStateIList<ActivityManager.ProcessErrorStateInfo>. Returns a list of any processes that are currently in an error condition.
[read-only]
RunningAppProcessesIList<ActivityManager.RunningAppProcessInfo>. Returns a list of application processes that are running on the device.

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

AddAppTask(Activity, Android.Content.Intent, ActivityManager.TaskDescription, Android.Graphics.Bitmap) : int
Add a new NoType:android/app/ActivityManager$AppTask;Href=../../../reference/android/app/ActivityManager.AppTask.html for the calling application.
ClearApplicationUserData() : bool
Permits an application to erase its own data from disk.
DumpPackageState(Java.IO.FileDescriptor, string)
Perform a system dump of various state associated with the given application package name.
DumpPackageStateAsync(Java.IO.FileDescriptor, string) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
static
FromContext(Android.Content.Context) : ActivityManager
Documentation for this section has not yet been entered.
GetMemoryInfo(ActivityManager.MemoryInfo)
Return general information about the memory state of the system.
static
GetMyMemoryState(ActivityManager.RunningAppProcessInfo)
Return global memory state information for the calling process.
GetProcessMemoryInfo(int[]) : Android.OS.Debug.MemoryInfo[]
Return information about the memory usage of one or more processes.
GetRecentTasks(int, RecentTaskFlags) : IList<ActivityManager.RecentTaskInfo>
GetRunningServiceControlPanel(Android.Content.ComponentName) : PendingIntent
Returns a PendingIntent you can start to show a control panel for the given running service.
GetRunningServices(int) : IList<ActivityManager.RunningServiceInfo>
Return a list of the services that are currently running.
GetRunningTasks(int) : IList<ActivityManager.RunningTaskInfo>
Return a list of the tasks that are currently running, with the most recent being first and older ones after in order.
KillBackgroundProcesses(string)
Have the system immediately kill all background processes associated with the given package.
MoveTaskToFront(int, MoveTaskFlags)
Equivalent to calling ActivityManager.MoveTaskToFront(int, Android.App.MoveTaskFlags, Android.App.MoveTaskFlags) with a null options argument.
MoveTaskToFront(int, int)
Documentation for this section has not yet been entered.
MoveTaskToFront(int, MoveTaskFlags, Android.OS.Bundle)
Ask that the task associated with a given task ID be moved to the front of the stack, so it is now visible to the user.
RestartPackage(string)