言語

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

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

適用対象