ImageDecoder.DecodeBitmap Metode

Definisi

Overload

Nama Deskripsi
DecodeBitmap(ImageDecoder+Source, ImageDecoder+IOnHeaderDecodedListener)

Lihat #decodeBitmap(Source, OnHeaderDecodedListener).

DecodeBitmap(ImageDecoder+Source)

Lihat #decodeBitmap(Source, OnHeaderDecodedListener).

DecodeBitmap(ImageDecoder+Source, ImageDecoder+IOnHeaderDecodedListener)

Lihat #decodeBitmap(Source, OnHeaderDecodedListener).

[Android.Runtime.Register("decodeBitmap", "(Landroid/graphics/ImageDecoder$Source;Landroid/graphics/ImageDecoder$OnHeaderDecodedListener;)Landroid/graphics/Bitmap;", "", ApiSince=28)]
public static Android.Graphics.Bitmap DecodeBitmap(Android.Graphics.ImageDecoder.Source src, Android.Graphics.ImageDecoder.IOnHeaderDecodedListener listener);
[<Android.Runtime.Register("decodeBitmap", "(Landroid/graphics/ImageDecoder$Source;Landroid/graphics/ImageDecoder$OnHeaderDecodedListener;)Landroid/graphics/Bitmap;", "", ApiSince=28)>]
static member DecodeBitmap : Android.Graphics.ImageDecoder.Source * Android.Graphics.ImageDecoder.IOnHeaderDecodedListener -> Android.Graphics.Bitmap

Parameter

src
ImageDecoder.Source

mewakili gambar yang dikodekan. Nilai ini tidak boleh null.

listener
ImageDecoder.IOnHeaderDecodedListener

untuk mempelajari ImageInfo dan mengubah pengaturan default apa pun pada ImageDecoder. Ini akan dipanggil pada utas yang sama dengan decodeBitmap sebelum metode tersebut kembali. Ini diperlukan untuk mengubah pengaturan default apa pun. Nilai ini tidak boleh null.

Mengembalikan

Bitmap yang berisi gambar. Nilai ini tidak boleh null.

Atribut

Keterangan

Referensi Android untuk android.graphics.ImageDecoder.decodeBitmap.

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.

Berlaku untuk

DecodeBitmap(ImageDecoder+Source)

Lihat #decodeBitmap(Source, OnHeaderDecodedListener).

[Android.Runtime.Register("decodeBitmap", "(Landroid/graphics/ImageDecoder$Source;)Landroid/graphics/Bitmap;", "", ApiSince=28)]
public static Android.Graphics.Bitmap DecodeBitmap(Android.Graphics.ImageDecoder.Source src);
[<Android.Runtime.Register("decodeBitmap", "(Landroid/graphics/ImageDecoder$Source;)Landroid/graphics/Bitmap;", "", ApiSince=28)>]
static member DecodeBitmap : Android.Graphics.ImageDecoder.Source -> Android.Graphics.Bitmap

Parameter

src
ImageDecoder.Source

mewakili gambar yang dikodekan. Nilai ini tidak boleh null.

Mengembalikan

Bitmap yang berisi gambar. Nilai ini tidak boleh null.

Atribut

Keterangan

Referensi Android untuk android.graphics.ImageDecoder.decodeBitmap.

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.

Berlaku untuk