Android.OS.ParcelFileDescriptor.Dup Method
Create a new ParcelFileDescriptor that is a dup of an existing FileDescriptor.

Syntax

[Android.Runtime.Register("dup", "(Ljava/io/FileDescriptor;)Landroid/os/ParcelFileDescriptor;", "")]
public static ParcelFileDescriptor Dup (Java.IO.FileDescriptor orig)

Parameters

orig
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOException

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.

[Android Documentation]

Requirements

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