共用方式為


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

android.graphics.ImageDecoder.MEMORY_POLICY_LOW_RAMJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於