Langue

ImageDecoder.AllocatorHardware Champ

Définition

Attention

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

Exiger un Bitmap.Config#HARDWAREBitmap.

[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

Valeur de champ

Value = 3
Attributs

Remarques

Exiger un Bitmap.Config#HARDWAREBitmap.

Lorsqu’elle est combinée avec des options incompatibles, comme #setMutableRequired setMutableRequired(true) ou , #decodeDrawable decodeDrawable ou #setDecodeAsAlphaMaskEnabled setDecodeAsAlphaMaskEnabled(true)#decodeBitmap decodeBitmap lève un java.lang.IllegalStateException.

Java documentation pour android.graphics.ImageDecoder.ALLOCATOR_HARDWARE.

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à