Aracılığıyla paylaş


ImageDecoder.MemoryPolicyLowRam Field

Definition

Caution

This constant will be removed in the future version. Use Android.Graphics.ImageDecoderMemoryPolicy enum directly instead of this field.

Save memory if possible by using a denser Bitmap.Config at the cost of some image quality.

[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

Field Value

Value = 0
Attributes

Remarks

Save memory if possible by using a denser Bitmap.Config at the cost of some image quality.

For example an opaque 8-bit image may be compressed into an Bitmap.Config#RGB_565 configuration, sacrificing image quality to save memory.

Java documentation for android.graphics.ImageDecoder.MEMORY_POLICY_LOW_RAM.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to