Language

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ドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象