Язык

ImageDecoder.AllocatorDefault Поле

Определение

Внимание!

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

Используйте выделение по умолчанию для памяти пикселей.

[Android.Runtime.Register("ALLOCATOR_DEFAULT", 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 AllocatorDefault = 0;
[<Android.Runtime.Register("ALLOCATOR_DEFAULT", 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 AllocatorDefault : Android.Graphics.ImageDecoderAllocator

Значение поля

Value = 0
Атрибуты

Комментарии

Используйте выделение по умолчанию для памяти пикселей.

Обычно это приведет к Bitmap.Config#HARDWARE выделению, но может быть программным обеспечением для небольших образов. Кроме того, это переключится на программное обеспечение, если оборудование несовместимо, например #setMutableRequired setMutableRequired(true) или #setDecodeAsAlphaMaskEnabled setDecodeAsAlphaMaskEnabled(true).

Java документации по android.graphics.ImageDecoder.ALLOCATOR_DEFAULT.

Части этой страницы — это изменения на основе работы, созданной и общей Project и используемых в соответствии с условиями, описанными в разделе "".

Применяется к