次の方法で共有


PersistableBundle.WriteToStream(Stream) Method

Definition

Writes the content of the PersistableBundle to a OutputStream.

[Android.Runtime.Register("writeToStream", "(Ljava/io/OutputStream;)V", "", ApiSince=30)]
public void WriteToStream (System.IO.Stream outputStream);
[<Android.Runtime.Register("writeToStream", "(Ljava/io/OutputStream;)V", "", ApiSince=30)>]
member this.WriteToStream : System.IO.Stream -> unit

Parameters

outputStream
Stream
Attributes

Remarks

Writes the content of the PersistableBundle to a OutputStream.

The content can be read by a #readFromStream.

Java documentation for android.os.PersistableBundle.writeToStream(java.io.OutputStream).

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