MemoryBudgetManager.ProcessBudgetBytes 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 budget for the caller's process. -or- Sets the memory budget for the caller's process.
public long ProcessBudgetBytes { [Android.Runtime.Register("getProcessBudgetBytes", "()J", "", ApiSince=37)] get; [Android.Runtime.Register("setProcessBudgetBytes", "(J)V", "", ApiSince=37)] set; }
[<get: Android.Runtime.Register("getProcessBudgetBytes", "()J", "", ApiSince=37)>]
[<set: Android.Runtime.Register("setProcessBudgetBytes", "(J)V", "", ApiSince=37)>]
member this.ProcessBudgetBytes : int64 with get, set
Property Value
memory limit for the caller's process in bytes; may return
LIMIT_IS_DISABLED
- Attributes
Remarks
Returns the budget for the caller's process. The value returned will be the last value set via setProcessBudgetBytes(long), if any, or the existing system or manifest limit, if there is no process budget.
Android reference for android.app.MemoryBudgetManager.getProcessBudgetBytes.
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.