ImageDecoder.MemoryPolicyDefault 欄位

定義

警告

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

內部用最自然Bitmap.ConfigBitmap的。

[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

欄位值

Value = 1
屬性

備註

內部用最自然Bitmap.ConfigBitmap的。

這是大多數應用程式和用途的建議預設。 這會使用最 Bitmap.Config 接近的編碼來源。 若編碼來源與任何 Bitmap.Config不完全相符,則會使用次高品質 Bitmap.Config ,避免影像品質損失。

Java 文件 android.graphics.ImageDecoder.MEMORY_POLICY_DEFAULT

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於