Android
android.app
public static class

android.app.ActivityManager.MemoryInfo

java.lang.Object
android.app.ActivityManager.MemoryInfo Parcelable

Information you can retrieve about the available memory through getMemoryInfo(ActivityManager.MemoryInfo).

Summary

Constants

      Value  
Creator<ActivityManager.MemoryInfo CREATOR       
Constants inherited from interface android.os.Parcelable

Fields

public      long  availMem  The total available memory on the system. 
public      boolean  lowMemory  Set to true if the system considers itself to currently be in a low memory situation. 
public      long  threshold  The threshold of availMem at which we consider memory to be low and start killing background services and other non-extraneous processes. 

Public Constructors

            ActivityManager.MemoryInfo()

Public Methods

          int  describeContents()
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
          void  readFromParcel(Parcel source)
          void  writeToParcel(Parcel dest, int flags)
Flatten this object in to a Parcel.
Methods inherited from class java.lang.Object
Methods inherited from interface android.os.Parcelable

Details

Constants

public static final Creator<ActivityManager.MemoryInfo> CREATOR

Fields

public long availMem

The total available memory on the system. This number should not be considered absolute: due to the nature of the kernel, a significant portion of this memory is actually in use and needed for the overall system to run well.

public boolean lowMemory

Set to true if the system considers itself to currently be in a low memory situation.

public long threshold

The threshold of availMem at which we consider memory to be low and start killing background services and other non-extraneous processes.

Public Constructors

public ActivityManager.MemoryInfo()

Public Methods

public int describeContents()

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

public void readFromParcel(Parcel source)

public void writeToParcel(Parcel dest, int flags)

Flatten this object in to a Parcel.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56