Share via


ActivityManager.MemoryInfo.AdvertisedMem Property

Definition

The advertised memory of the system, as the end user would encounter in a retail display environment.

[Android.Runtime.Register("advertisedMem", ApiSince=34)]
public long AdvertisedMem { get; set; }
[<Android.Runtime.Register("advertisedMem", ApiSince=34)>]
member this.AdvertisedMem : int64 with get, set

Property Value

Attributes

Remarks

The advertised memory of the system, as the end user would encounter in a retail display environment. This value might be different from totalMem. This could be due to many reasons. For example, the ODM could reserve part of the memory for the Trusted Execution Environment (TEE) which the kernel doesn't have access or knowledge about it.

Java documentation for android.app.ActivityManager.MemoryInfo.advertisedMem.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to