Sprache

ImageDecoder.AllocatorHardware Feld

Definition

Achtung

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

Erfordert ein 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

Feldwert

Value = 3
Attribute

Hinweise

Erfordert ein Bitmap.Config#HARDWAREBitmap.

Wenn dies mit inkompatiblen Optionen kombiniert wird, z #setMutableRequired setMutableRequired(true) . B. oder #setDecodeAsAlphaMaskEnabled setDecodeAsAlphaMaskEnabled(true), #decodeDrawable decodeDrawable oder #decodeBitmap decodeBitmap löst ein java.lang.IllegalStateException.

Java Dokumentation für android.graphics.ImageDecoder.ALLOCATOR_HARDWARE.

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: