ImageDecoder.DecodeDrawable Metode

Definisi

Overload

Nama Deskripsi
DecodeDrawable(ImageDecoder+Source)

Lihat #decodeDrawable(Source, OnHeaderDecodedListener).

DecodeDrawable(ImageDecoder+Source, ImageDecoder+IOnHeaderDecodedListener)

Lihat #decodeDrawable(Source, OnHeaderDecodedListener).

DecodeDrawable(ImageDecoder+Source)

Lihat #decodeDrawable(Source, OnHeaderDecodedListener).

[Android.Runtime.Register("decodeDrawable", "(Landroid/graphics/ImageDecoder$Source;)Landroid/graphics/drawable/Drawable;", "", ApiSince=28)]
public static Android.Graphics.Drawables.Drawable DecodeDrawable(Android.Graphics.ImageDecoder.Source src);
[<Android.Runtime.Register("decodeDrawable", "(Landroid/graphics/ImageDecoder$Source;)Landroid/graphics/drawable/Drawable;", "", ApiSince=28)>]
static member DecodeDrawable : Android.Graphics.ImageDecoder.Source -> Android.Graphics.Drawables.Drawable

Parameter

src
ImageDecoder.Source

mewakili gambar yang dikodekan. Nilai ini tidak boleh null.

Mengembalikan

Dapat digambar untuk menampilkan gambar. Nilai ini tidak boleh null.

Atribut

Keterangan

Referensi Android untuk android.graphics.ImageDecoder.decodeDrawable.

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

DecodeDrawable(ImageDecoder+Source, ImageDecoder+IOnHeaderDecodedListener)

Lihat #decodeDrawable(Source, OnHeaderDecodedListener).

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

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 decodeDrawable sebelum metode tersebut kembali. Ini diperlukan untuk mengubah pengaturan default apa pun. Nilai ini tidak boleh null.

Mengembalikan

Dapat digambar untuk menampilkan gambar. Nilai ini tidak boleh null.

Atribut

Keterangan

Referensi Android untuk android.graphics.ImageDecoder.decodeDrawable.

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