Language

ImageDecoder.DecodeDrawable メソッド

定義

オーバーロード

Name 説明
DecodeDrawable(ImageDecoder+Source, ImageDecoder+IOnHeaderDecodedListener)

#decodeDrawable(Source, OnHeaderDecodedListener)を参照してください。

DecodeDrawable(ImageDecoder+Source)

#decodeDrawable(Source, OnHeaderDecodedListener)を参照してください。

DecodeDrawable(ImageDecoder+Source, ImageDecoder+IOnHeaderDecodedListener)

#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

パラメーター

src
ImageDecoder.Source

エンコードされたイメージを表します。 この値は null にすることはできません。

listener
ImageDecoder.IOnHeaderDecodedListener

ImageInfo を学習し、ImageDecoder の既定の設定を変更します。 これは、そのメソッドが返される前に、decodeDrawable と同じスレッドで呼び出されます。 これは、既定の設定のいずれかを変更するために必要です。 この値は null にすることはできません。

返品

画像を表示するための描画可能。 この値は null にすることはできません。

属性

注釈

ソースから Drawable を作成します。 このメソッドの完了には数秒かかる場合があるため、ワーカー スレッドからのみ呼び出す必要があります。

android.graphics.ImageDecoder.decodeDrawableの Android リファレンス。

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

適用対象

DecodeDrawable(ImageDecoder+Source)

#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

パラメーター

src
ImageDecoder.Source

エンコードされたイメージを表します。 この値は null にすることはできません。

返品

画像を表示するための描画可能。 この値は null にすることはできません。

属性

注釈

ソースから Drawable を作成します。

OnHeaderDecodedListener がないため、既定の設定が使用されます。 設定を変更するには、代わりに decodeDrawable(Source,OnHeaderDecodedListener) を呼び出します。

このメソッドの完了には数秒かかる場合があるため、ワーカー スレッドからのみ呼び出す必要があります。

android.graphics.ImageDecoder.decodeDrawableの Android リファレンス。

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

適用対象