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ドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象