Compartir a través de


ParcelFileDescriptor.CreatePipe Method

Definition

Create two ParcelFileDescriptors structured as a data pipe.

[Android.Runtime.Register("createPipe", "()[Landroid/os/ParcelFileDescriptor;", "")]
public static Android.OS.ParcelFileDescriptor[]? CreatePipe ();
[<Android.Runtime.Register("createPipe", "()[Landroid/os/ParcelFileDescriptor;", "")>]
static member CreatePipe : unit -> Android.OS.ParcelFileDescriptor[]

Returns

Attributes

Exceptions

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.

Java documentation for android.os.ParcelFileDescriptor.createPipe().

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