Share via


BitmapFactory.DecodeResourceAsync Method

Definition

Overloads

DecodeResourceAsync(Resources, Int32)
DecodeResourceAsync(Resources, Int32, BitmapFactory+Options)

DecodeResourceAsync(Resources, Int32)

public static System.Threading.Tasks.Task<Android.Graphics.Bitmap?> DecodeResourceAsync (Android.Content.Res.Resources? res, int id);
static member DecodeResourceAsync : Android.Content.Res.Resources * int -> System.Threading.Tasks.Task<Android.Graphics.Bitmap>

Parameters

res
Resources
id
Int32

Returns

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

DecodeResourceAsync(Resources, Int32, BitmapFactory+Options)

public static System.Threading.Tasks.Task<Android.Graphics.Bitmap?> DecodeResourceAsync (Android.Content.Res.Resources? res, int id, Android.Graphics.BitmapFactory.Options? opts);
static member DecodeResourceAsync : Android.Content.Res.Resources * int * Android.Graphics.BitmapFactory.Options -> System.Threading.Tasks.Task<Android.Graphics.Bitmap>

Parameters

res
Resources
id
Int32

Returns

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to