Sdílet prostřednictvím


ParcelFileDescriptor Constructors

Definition

Overloads

ParcelFileDescriptor(ParcelFileDescriptor)

Create a new ParcelFileDescriptor wrapped around another descriptor.

ParcelFileDescriptor(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

ParcelFileDescriptor(ParcelFileDescriptor)

Create a new ParcelFileDescriptor wrapped around another descriptor.

[Android.Runtime.Register(".ctor", "(Landroid/os/ParcelFileDescriptor;)V", "")]
public ParcelFileDescriptor (Android.OS.ParcelFileDescriptor? wrapped);
[<Android.Runtime.Register(".ctor", "(Landroid/os/ParcelFileDescriptor;)V", "")>]
new Android.OS.ParcelFileDescriptor : Android.OS.ParcelFileDescriptor -> Android.OS.ParcelFileDescriptor

Parameters

Attributes

Remarks

Create a new ParcelFileDescriptor wrapped around another descriptor. By default all method calls are delegated to the wrapped descriptor.

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

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

ParcelFileDescriptor(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected ParcelFileDescriptor (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.OS.ParcelFileDescriptor : nativeint * Android.Runtime.JniHandleOwnership -> Android.OS.ParcelFileDescriptor

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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