語言

ImageDecoder.MemoryPolicyLowRam 欄位

定義

警告

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 配置,犧牲影像品質以節省記憶體。

Java 文件 android.graphics.ImageDecoder.MEMORY_POLICY_LOW_RAM。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於