MemoryBudgetManager.ProcessBudgetBytes 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回调用方流程的预算。 - 或 - 设置调用方进程的内存预算。
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
属性值
调用方进程的内存限制(以字节为单位);可能会返回 LIMIT_IS_DISABLED
- 特性
注解
返回调用方流程的预算。 如果没有任何进程预算,则返回的值将是通过 setProcessBudgetBytes(long)、(如果有)或现有系统或清单限制设置的最后一个值。
Android 参考。android.app.MemoryBudgetManager.getProcessBudgetBytes
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。