| java.lang.Object | |
| ↳ | android.app.ActivityManager.MemoryInfo |
Information you can retrieve about the available memory through
getMemoryInfo(ActivityManager.MemoryInfo)
.
|
[Expand]
Inherited Constants
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
|||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
CREATOR | ||||||||||
|
|
availMem | The available memory on the system. | |||||||||
|
|
lowMemory | Set to true if the system considers itself to currently be in a low memory situation. | |||||||||
|
|
threshold |
The threshold of
availMem
at which we consider memory to be
low and start killing background services and other non-extraneous
processes.
|
|||||||||
|
|
totalMem | The total memory accessible by the kernel. | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
|
||||||||||
|
|
|
||||||||||
|
|
Flatten this object in to a Parcel.
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
|||||||||||
From interface
android.os.Parcelable
|
|||||||||||
The 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.
Set to true if the system considers itself to currently be in a low memory situation.
The threshold of
availMem
at which we consider memory to be
low and start killing background services and other non-extraneous
processes.
The total memory accessible by the kernel. This is basically the RAM size of the device, not including below-kernel fixed allocations like DMA buffers, RAM for the baseband CPU, etc.
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Flatten this object in to a Parcel.
| 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_WRITE_RETURN_VALUE
.
|