MemoryBudgetInfo.AdditionalMbPerDensity Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the additional memory (in MiB) that this MemoryBudgetInfo's limit will
be raised by, based on the screen density of the device.
public long AdditionalMbPerDensity { [Android.Runtime.Register("getAdditionalMbPerDensity", "()J", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getAdditionalMbPerDensity", "()J", "", ApiSince=37)>]
member this.AdditionalMbPerDensity : int64
Property Value
The additionalMbPerDensity attribute.
- Attributes
Remarks
Returns the additional memory (in MiB) that this MemoryBudgetInfo's limit will be raised by, based on the screen density of the device. The formula used for calculating the additional memory is (N * { ldpi=0.75, mdpi=1.0, hdpi=1.5, xhdpi=2... }).
Android reference for android.content.pm.MemoryBudgetInfo.getAdditionalMbPerDensity.
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.