ImageDecoder.MemoryPolicyDefault 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.
Use the most natural Bitmap.Config
for the internal Bitmap
.
[Android.Runtime.Register("MEMORY_POLICY_DEFAULT", 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 MemoryPolicyDefault = 1;
[<Android.Runtime.Register("MEMORY_POLICY_DEFAULT", 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 MemoryPolicyDefault : Android.Graphics.ImageDecoderMemoryPolicy
Field Value
Value = 1- Attributes
Remarks
Use the most natural Bitmap.Config
for the internal Bitmap
.
This is the recommended default for most applications and usages. This will use the closest Bitmap.Config
for the encoded source. If the encoded source does not exactly match any Bitmap.Config
, the next highest quality Bitmap.Config
will be used avoiding any loss in image quality.
Java documentation for android.graphics.ImageDecoder.MEMORY_POLICY_DEFAULT
.
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.