android.app
Class ActivityManager.MemoryInfo
java.lang.Object
android.app.ActivityManager.MemoryInfo
- All Implemented Interfaces:
- Parcelable
- Enclosing class:
- ActivityManager
public static class ActivityManager.MemoryInfo
- extends Object
- implements Parcelable
Information you can retrieve about the available memory through
ActivityManager.getMemoryInfo(android.app.ActivityManager.MemoryInfo).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
availMem
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.
threshold
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.
lowMemory
public boolean lowMemory
- Set to true if the system considers itself to currently be in a low
memory situation.
CREATOR
public static final Parcelable.Creator<ActivityManager.MemoryInfo> CREATOR
ActivityManager.MemoryInfo
public ActivityManager.MemoryInfo()
describeContents
public int describeContents()
- Description copied from interface:
Parcelable
- Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
- Specified by:
describeContents in interface Parcelable
- Returns:
- a bitmask indicating the set of special object types marshalled
by the Parcelable.
writeToParcel
public void writeToParcel(Parcel dest,
int flags)
- Description copied from interface:
Parcelable
- Flatten this object in to a Parcel.
- Specified by:
writeToParcel in interface Parcelable
- Parameters:
dest - The Parcel in which the object should be written.flags - Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.
readFromParcel
public void readFromParcel(Parcel source)
Please submit a feedback, bug or feature