ImageDecoder.AllocatorHardware フィールド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
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をスローします。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。