ImageDecoder.AllocatorHardware Поле
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Внимание!
This constant will be removed in the future version. Use Android.Graphics.ImageDecoderAllocator enum directly instead of this field.
Bitmap.Config#HARDWARE
BitmapТребовать .
[Android.Runtime.Register("ALLOCATOR_HARDWARE", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageDecoderAllocator enum directly instead of this field.", true)]
public const Android.Graphics.ImageDecoderAllocator AllocatorHardware = 3;
[<Android.Runtime.Register("ALLOCATOR_HARDWARE", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageDecoderAllocator enum directly instead of this field.", true)>]
val mutable AllocatorHardware : Android.Graphics.ImageDecoderAllocator
Значение поля
Value = 3- Атрибуты
Комментарии
Bitmap.Config#HARDWARE
BitmapТребовать .
Если это в сочетании с несовместимыми параметрами, например #setMutableRequired setMutableRequired(true) или #setDecodeAsAlphaMaskEnabled setDecodeAsAlphaMaskEnabled(true)#decodeDrawable decodeDrawable , или #decodeBitmap decodeBitmap вызовет java.lang.IllegalStateExceptionисключение.
Java документации по android.graphics.ImageDecoder.ALLOCATOR_HARDWARE.
Части этой страницы — это изменения на основе работы, созданной и общей Project и используемых в соответствии с условиями, описанными в разделе "".