ImageDecoder.MemoryPolicyLowRam Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.