语言

ImageDecoder.AllocationLimit 属性

定义

获取图像解码的最大内存限制(以字节为单位)。 - 或 - 为图像解码设置最大内存限制(字节)。

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

属性值

属性

注解

获取图像解码的最大内存限制(以字节为单位)。

Android 参考。android.graphics.ImageDecoder.getAllocationLimit

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于