Language

ImageDecoder.DecodeBitmap メソッド

定義

オーバーロード

Name 説明
DecodeBitmap(ImageDecoder+Source)

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

DecodeBitmap(ImageDecoder+Source, ImageDecoder+IOnHeaderDecodedListener)

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

DecodeBitmap(ImageDecoder+Source)

#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

パラメーター

src
ImageDecoder.Source

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

返品

イメージを含むビットマップ。 この値は null にすることはできません。

属性

注釈

ソースからビットマップを作成します。

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

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

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

適用対象

DecodeBitmap(ImageDecoder+Source, ImageDecoder+IOnHeaderDecodedListener)

#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

パラメーター

src
ImageDecoder.Source

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

listener
ImageDecoder.IOnHeaderDecodedListener

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

返品

イメージを含むビットマップ。 この値は null にすることはできません。

属性

注釈

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

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

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

適用対象