Android.App.ActivityManager.MemoryInfo Class
Information you can retrieve about the available memory through
ActivityManager.GetMemoryInfo(ActivityManager+MemoryInfo).
See Also: ActivityManager+MemoryInfo
Syntax
[Android.Runtime.Register("android/app/ActivityManager$MemoryInfo", DoNotGenerateAcw=true)]
public class ActivityManager.MemoryInfo : Object, IParcelable, IDisposable
public class ActivityManager.MemoryInfo : Object, IParcelable, IDisposable
Remarks
Information you can retrieve about the available memory through ActivityManager.GetMemoryInfo(ActivityManager+MemoryInfo).
Requirements
Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1
The members of Android.App.ActivityManager.MemoryInfo are listed below.
See Also: Object
Public Constructors
Protected Constructors
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Public Properties
AvailMem | Int64. The available memory on the system. | |
[read-only] static | Creator | IParcelableCreator. |
LowMemory | Boolean. Set to true if the system considers itself to currently be in a low memory situation. | |
Threshold | Int64. The threshold of ActivityManager+MemoryInfo.AvailMem at which we consider memory to be low and start killing background services and other non-extraneous processes. | |
TotalMem | Int64. The total memory accessible by the kernel. |
Protected Properties
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Public Methods
DescribeContents()Describe the kinds of special objects contained in this Parcelable's marshalled representation. | ||
ReadFromParcel(Parcel) | ||
WriteToParcel(Parcel, ParcelableWriteFlags)Flatten this object in to a Parcel. |