ParcelFileDescriptor.Dup Method

Definition

Overloads

Dup(FileDescriptor)

Create a new ParcelFileDescriptor that is a dup of an existing FileDescriptor.

Dup()

Create a new ParcelFileDescriptor that is a dup of the existing FileDescriptor.

Dup(FileDescriptor)

Create a new ParcelFileDescriptor that is a dup of an existing FileDescriptor.

[Android.Runtime.Register("dup", "(Ljava/io/FileDescriptor;)Landroid/os/ParcelFileDescriptor;", "")]
public static Android.OS.ParcelFileDescriptor? Dup (Java.IO.FileDescriptor? orig);
[<Android.Runtime.Register("dup", "(Ljava/io/FileDescriptor;)Landroid/os/ParcelFileDescriptor;", "")>]
static member Dup : Java.IO.FileDescriptor -> Android.OS.ParcelFileDescriptor

Parameters

Returns

Attributes

Exceptions

Remarks

Create a new ParcelFileDescriptor that is a dup of an existing FileDescriptor. This obeys standard POSIX semantics, where the new file descriptor shared state such as file position with the original file descriptor.

Java documentation for android.os.ParcelFileDescriptor.dup(java.io.FileDescriptor).

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

Dup()

Create a new ParcelFileDescriptor that is a dup of the existing FileDescriptor.

[Android.Runtime.Register("dup", "()Landroid/os/ParcelFileDescriptor;", "GetDupHandler")]
public virtual Android.OS.ParcelFileDescriptor? Dup ();
[<Android.Runtime.Register("dup", "()Landroid/os/ParcelFileDescriptor;", "GetDupHandler")>]
abstract member Dup : unit -> Android.OS.ParcelFileDescriptor
override this.Dup : unit -> Android.OS.ParcelFileDescriptor

Returns

Attributes

Exceptions

Remarks

Create a new ParcelFileDescriptor that is a dup of the existing FileDescriptor. This obeys standard POSIX semantics, where the new file descriptor shared state such as file position with the original file descriptor.

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

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