Sdílet prostřednictvím


ParcelFileDescriptor.Close Method

Definition

Close the ParcelFileDescriptor.

[Android.Runtime.Register("close", "()V", "GetCloseHandler")]
public virtual void Close ();
[<Android.Runtime.Register("close", "()V", "GetCloseHandler")>]
abstract member Close : unit -> unit
override this.Close : unit -> unit

Implements

Attributes

Exceptions

If an error occurs attempting to close this ParcelFileDescriptor.

Remarks

Close the ParcelFileDescriptor. This implementation closes the underlying OS resources allocated to represent this stream.

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

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