FileDescriptor.Valid Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
true
if the file descriptor object represents a
valid, open file, socket, or other active I/O connection;
false
otherwise.
- Attributes
Remarks
Tests if this file descriptor object is valid.
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.