FileDescriptor.Valid Method

Definition

Tests if this file descriptor object is valid.

[Android.Runtime.Register("valid", "()Z", "")]
public bool Valid ();
[<Android.Runtime.Register("valid", "()Z", "")>]
member this.Valid : unit -> bool

Returns

Boolean

<code>true</code> if the file descriptor object represents a valid, open file, socket, or other active I/O connection; <code>false</code> otherwise.

Attributes

Remarks

Java documentation for java.io.FileDescriptor.valid().

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