ImageDecoder.MemoryPolicyLowRam 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.Graphics.ImageDecoderMemoryPolicy enum directly instead of this field.
如果可能,请使用更 Bitmap.Config
密集的内存,但代价是一些图像质量。
[Android.Runtime.Register("MEMORY_POLICY_LOW_RAM", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageDecoderMemoryPolicy enum directly instead of this field.", true)]
public const Android.Graphics.ImageDecoderMemoryPolicy MemoryPolicyLowRam = 0;
[<Android.Runtime.Register("MEMORY_POLICY_LOW_RAM", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageDecoderMemoryPolicy enum directly instead of this field.", true)>]
val mutable MemoryPolicyLowRam : Android.Graphics.ImageDecoderMemoryPolicy
字段值
Value = 0- 属性
注解
如果可能,请使用更 Bitmap.Config
密集的内存,但代价是一些图像质量。
例如,不透明的 8 位映像可以压缩到 Bitmap.Config#RGB_565
配置中,牺牲图像质量以节省内存。
适用于 . 的 android.graphics.ImageDecoder.MEMORY_POLICY_LOW_RAM
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。