Android.OS.ParcelFileDescriptor: Method Members

The methods of Android.OS.ParcelFileDescriptor are listed below. For a list of all members, see the ParcelFileDescriptor Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

static
AdoptFd(int) : ParcelFileDescriptor
Take ownership of a raw native fd in to a new ParcelFileDescriptor.
CanDetectErrors() : bool
Indicates if this ParcelFileDescriptor can communicate and detect remote errors/crashes.
CheckError()
Detect and throw if the other end of a pipe or socket pair encountered an error or crashed.
Close()
Close the ParcelFileDescriptor.
CloseWithError(string)
Close the ParcelFileDescriptor, informing any peer that an error occurred while processing.
static
CreatePipe() : ParcelFileDescriptor[]
Create two ParcelFileDescriptors structured as a data pipe.
static
CreateReliablePipe() : ParcelFileDescriptor[]
Create two ParcelFileDescriptors structured as a data pipe.
static
CreateReliableSocketPair() : ParcelFileDescriptor[]
Create two ParcelFileDescriptors structured as a pair of sockets connected to each other.
static
CreateSocketPair() : ParcelFileDescriptor[]
Create two ParcelFileDescriptors structured as a pair of sockets connected to each other.
DescribeContents() : int
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
DetachFd() : int
Return the native fd int for this ParcelFileDescriptor and detach it from the object here.
Dup() : ParcelFileDescriptor
Create a new ParcelFileDescriptor that is a dup of the existing FileDescriptor.
static
Dup(Java.IO.FileDescriptor) : ParcelFileDescriptor
Create a new ParcelFileDescriptor that is a dup of an existing FileDescriptor.
static
FromDatagramSocket(Java.Net.DatagramSocket) : ParcelFileDescriptor
Create a new ParcelFileDescriptor from the specified DatagramSocket.
static
FromFd(int) : ParcelFileDescriptor
Create a new ParcelFileDescriptor from a raw native fd.
static
FromSocket(Java.Net.Socket) : ParcelFileDescriptor
Create a new ParcelFileDescriptor from the specified Socket.
static
Open(Java.IO.File, ParcelFileMode) : ParcelFileDescriptor
Create a new ParcelFileDescriptor accessing a given file.
static
Open(Java.IO.File, ParcelFileMode, Handler, ParcelFileDescriptor.IOnCloseListener) : ParcelFileDescriptor
Create a new ParcelFileDescriptor accessing a given file.
static
ParseMode(string) : ParcelFileMode
Converts a string representing a file mode, such as "rw", into a bitmask suitable for use with ParcelFileDescriptor.Open(Java.IO.File, Android.OS.ParcelFileMode).
WriteToParcel(Parcel, ParcelableWriteFlags)
Flatten this object in to a Parcel.