Android.OS.ParcelFileDescriptor.DetachFd Method
Return the native fd int for this ParcelFileDescriptor and detach it from the object here.

Syntax

[Android.Runtime.Register("detachFd", "()I", "GetDetachFdHandler")]
public virtual int DetachFd ()

See Also

ParcelFileDescriptor.CanDetectErrors

Returns

Documentation for this section has not yet been entered.

Remarks

Return the native fd int for this ParcelFileDescriptor and detach it from the object here. You are now responsible for closing the fd in native code.

You should not detach when the original creator of the descriptor is expecting a reliable signal through ParcelFileDescriptor.Close or ParcelFileDescriptor.CloseWithError(string).

[Android Documentation]

Requirements

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