ImageDecoder.AllocatorDefault Bidang
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Perhatian
This constant will be removed in the future version. Use Android.Graphics.ImageDecoderAllocator enum directly instead of this field.
Gunakan alokasi default untuk memori piksel.
[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
Nilai Bidang
Value = 0- Atribut
Keterangan
Gunakan alokasi default untuk memori piksel.
Biasanya akan menghasilkan alokasi Bitmap.Config#HARDWARE , tetapi mungkin perangkat lunak untuk gambar kecil. Selain itu, ini akan beralih ke perangkat lunak ketika PERANGKAT KERAS tidak kompatibel, misalnya #setMutableRequired setMutableRequired(true) atau #setDecodeAsAlphaMaskEnabled setDecodeAsAlphaMaskEnabled(true).
Java dokumentasi untuk android.graphics.ImageDecoder.ALLOCATOR_DEFAULT.
Bagian dari halaman ini adalah modifikasi berdasarkan pekerjaan yang dibuat dan dibagikan oleh Android Open Source Project dan digunakan sesuai dengan istilah yang dijelaskan dalam Lisensi Creative Commons 2.5 Lisensi Atribusi.