Android.OS.Parcel.WriteFileDescriptor Method
Write a FileDescriptor into the parcel at the current dataPosition(), growing dataCapacity() if needed.

Syntax

[Android.Runtime.Register("writeFileDescriptor", "(Ljava/io/FileDescriptor;)V", "")]
[System.Obsolete("deprecated")]
public void WriteFileDescriptor (Java.IO.FileDescriptor val)

Parameters

val
Documentation for this section has not yet been entered.

Remarks

Write a FileDescriptor into the parcel at the current dataPosition(), growing dataCapacity() if needed.

The file descriptor will not be closed, which may result in file descriptor leaks when objects are returned from Binder calls. Use ParcelFileDescriptor.WriteToParcel(Parcel, Android.OS.ParcelableWriteFlags) instead, which accepts contextual flags and will close the original file descriptor if Parcelable.ParcelableWriteReturnValue is set.

[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