Android.Graphics.Picture.WriteToStream Method
Write the picture contents to a stream.

Syntax

[Android.Runtime.Register("writeToStream", "(Ljava/io/OutputStream;)V", "GetWriteToStream_Ljava_io_OutputStream_Handler")]
[System.Obsolete("deprecated")]
public virtual void WriteToStream (System.IO.Stream stream)

See Also

Picture.CreateFromStream(System.IO.Stream)

Parameters

stream
Documentation for this section has not yet been entered.

Remarks

Write the picture contents to a stream. The data can be used to recreate the picture in this or another process by calling createFromStream(...) The resulting stream is NOT to be persisted across device restarts as there is no guarantee that the Picture can be successfully reconstructed.

Note: a picture created from an input stream cannot be replayed on a hardware accelerated canvas.

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1