Språk

Picture.CreateFromStreamAsync(Stream) Method

Definition

Runs legacy picture-stream decoding as a task.

public static System.Threading.Tasks.Task<Android.Graphics.Picture?> CreateFromStreamAsync(System.IO.Stream? stream);
static member CreateFromStreamAsync : System.IO.Stream -> System.Threading.Tasks.Task<Android.Graphics.Picture>

Parameters

stream
Stream

The stream supplying legacy serialized picture data.

Returns

A task that yields the reconstructed picture, which can be empty if decoding fails. Decoding can also cause the task to fault.

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