Språk

PackageManager.GetMemoryBudgets(ApplicationInfo) Method

Definition

Return the memory budgets for the application described by the given ApplicationInfo.

[Android.Runtime.Register("getMemoryBudgets", "(Landroid/content/pm/ApplicationInfo;)Ljava/util/List;", "GetGetMemoryBudgets_Landroid_content_pm_ApplicationInfo_Handler", ApiSince=37)]
public virtual System.Collections.Generic.IList<Android.Content.PM.MemoryBudgetInfo> GetMemoryBudgets(Android.Content.PM.ApplicationInfo info);
[<Android.Runtime.Register("getMemoryBudgets", "(Landroid/content/pm/ApplicationInfo;)Ljava/util/List;", "GetGetMemoryBudgets_Landroid_content_pm_ApplicationInfo_Handler", ApiSince=37)>]
abstract member GetMemoryBudgets : Android.Content.PM.ApplicationInfo -> System.Collections.Generic.IList<Android.Content.PM.MemoryBudgetInfo>
override this.GetMemoryBudgets : Android.Content.PM.ApplicationInfo -> System.Collections.Generic.IList<Android.Content.PM.MemoryBudgetInfo>

Parameters

info
ApplicationInfo

The ApplicationInfo of the application to query.

Returns

Attributes

Remarks

Return the memory budgets for the application described by the given ApplicationInfo.

Android reference for android.content.pm.PackageManager.getMemoryBudgets.

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