Share via


BidirectionalStream.Flush Method

Definition

Flushes pending writes.

[Android.Runtime.Register("flush", "()V", "GetFlushHandler", ApiSince=34)]
public abstract void Flush ();
[<Android.Runtime.Register("flush", "()V", "GetFlushHandler", ApiSince=34)>]
abstract member Flush : unit -> unit
Attributes

Remarks

Flushes pending writes. This method should not be invoked before Callback#onStreamReady onStreamReady(). For previously delayed #write write()s, a corresponding Callback#onWriteCompleted onWriteCompleted() will be invoked when the buffer is sent.

Java documentation for android.net.http.BidirectionalStream.flush().

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