Taal

MemoryBudgetManager.PackageBudgetBytes Property

Definition

Returns the budget for the caller's application. -or- Sets the memory budget for the caller's application.

public long PackageBudgetBytes { [Android.Runtime.Register("getPackageBudgetBytes", "()J", "", ApiSince=37)] get; [Android.Runtime.Register("setPackageBudgetBytes", "(J)V", "", ApiSince=37)] set; }
[<get: Android.Runtime.Register("getPackageBudgetBytes", "()J", "", ApiSince=37)>]
[<set: Android.Runtime.Register("setPackageBudgetBytes", "(J)V", "", ApiSince=37)>]
member this.PackageBudgetBytes : int64 with get, set

Property Value

memory limit for the caller's application in bytes; may return LIMIT_IS_DISABLED

Attributes

Remarks

Returns the budget for the caller's application. The value returned will be the last value set via setPackageBudgetBytes(long), if any, or the existing system or manifest limit, if there is no package budget.

Android reference for android.app.MemoryBudgetManager.getPackageBudgetBytes.

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