Android.OS.ParcelFileDescriptor.CreateReliablePipe Method
Create two ParcelFileDescriptors structured as a data pipe.

Syntax

[Android.Runtime.Register("createReliablePipe", "()[Landroid/os/ParcelFileDescriptor;", "")]
public static ParcelFileDescriptor[] CreateReliablePipe ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOException

Remarks

Create two ParcelFileDescriptors structured as a data pipe. The first ParcelFileDescriptor in the returned array is the read side; the second is the write side.

The write end has the ability to deliver an error message through ParcelFileDescriptor.CloseWithError(string) which can be handled by the read end calling ParcelFileDescriptor.CheckError, usually after detecting an EOF. This can also be used to detect remote crashes.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1