언어

ImageDecoder.AllocatorHardware 필드

정의

주의

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

을 요구합니다 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

필드 값

Value = 3
특성

설명

을 요구합니다 Bitmap.Config#HARDWAREBitmap.

호환되지 않는 옵션(예#setMutableRequired setMutableRequired(true): 또는 #decodeDrawable decodeDrawable#setDecodeAsAlphaMaskEnabled setDecodeAsAlphaMaskEnabled(true))과 결합되거나 #decodeBitmap decodeBitmap throw되는 경우 java.lang.IllegalStateException.

에 대한 android.graphics.ImageDecoder.ALLOCATOR_HARDWAREJava 설명서

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상