IEofSensorWatcher.EofDetected(Stream) Method

Definition

Indicates that EOF is detected.

[Android.Runtime.Register("eofDetected", "(Ljava/io/InputStream;)Z", "GetEofDetected_Ljava_io_InputStream_Handler:Org.Apache.Http.Conn.IEofSensorWatcherInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool EofDetected (System.IO.Stream? wrapped);
[<Android.Runtime.Register("eofDetected", "(Ljava/io/InputStream;)Z", "GetEofDetected_Ljava_io_InputStream_Handler:Org.Apache.Http.Conn.IEofSensorWatcherInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member EofDetected : System.IO.Stream -> bool

Parameters

wrapped
Stream

the underlying stream which has reached EOF

Returns

Attributes

Exceptions

in case of an IO problem, for example if the watcher itself closes the underlying stream. The caller will leave the wrapped stream alone, as if false was returned.

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