Sdílet prostřednictvím


EofSensorInputStream.CheckEOF(Int32) Method

Definition

Detects EOF and notifies the watcher.

[Android.Runtime.Register("checkEOF", "(I)V", "GetCheckEOF_IHandler")]
protected virtual void CheckEOF (int eof);
[<Android.Runtime.Register("checkEOF", "(I)V", "GetCheckEOF_IHandler")>]
abstract member CheckEOF : int -> unit
override this.CheckEOF : int -> unit

Parameters

eof
Int32

the result of the calling read operation. A negative value indicates that EOF is reached.

Attributes

Exceptions

in case of an IO problem on closing the underlying stream

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