Sdílet prostřednictvím


Drawable.CreateFromResourceStreamAsync Method

Definition

Overloads

CreateFromResourceStreamAsync(Resources, TypedValue, Stream, String)
CreateFromResourceStreamAsync(Resources, TypedValue, Stream, String, BitmapFactory+Options)

CreateFromResourceStreamAsync(Resources, TypedValue, Stream, String)

public static System.Threading.Tasks.Task<Android.Graphics.Drawables.Drawable?> CreateFromResourceStreamAsync (Android.Content.Res.Resources? res, Android.Util.TypedValue? value, System.IO.Stream? is, string? srcName);
static member CreateFromResourceStreamAsync : Android.Content.Res.Resources * Android.Util.TypedValue * System.IO.Stream * string -> System.Threading.Tasks.Task<Android.Graphics.Drawables.Drawable>

Parameters

res
Resources
value
TypedValue
is
Stream
srcName
String

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

CreateFromResourceStreamAsync(Resources, TypedValue, Stream, String, BitmapFactory+Options)

public static System.Threading.Tasks.Task<Android.Graphics.Drawables.Drawable?> CreateFromResourceStreamAsync (Android.Content.Res.Resources? res, Android.Util.TypedValue? value, System.IO.Stream? is, string? srcName, Android.Graphics.BitmapFactory.Options? opts);
static member CreateFromResourceStreamAsync : Android.Content.Res.Resources * Android.Util.TypedValue * System.IO.Stream * string * Android.Graphics.BitmapFactory.Options -> System.Threading.Tasks.Task<Android.Graphics.Drawables.Drawable>

Parameters

res
Resources
value
TypedValue
is
Stream
srcName
String

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