Java.IO.IObjectOutput.Flush Method
Flushes the target stream.

Syntax

[Android.Runtime.Register("flush", "()V", "GetFlushHandler:Java.IO.IObjectOutputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Flush ()

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while flushing the target stream.

Remarks

Flushes the target stream. Implementations of this method should ensure that any pending writes are written out to the target stream.

[Android Documentation]

Requirements

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