Language

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 parsed picture, or an empty picture if no native recording is decoded.

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