Share via


AssetFileDescriptor.ParcelFileDescriptor Property

Definition

The AssetFileDescriptor contains its own ParcelFileDescriptor, which in addition to the normal FileDescriptor object also allows you to close the descriptor when you are done with it.

public virtual Android.OS.ParcelFileDescriptor? ParcelFileDescriptor { [Android.Runtime.Register("getParcelFileDescriptor", "()Landroid/os/ParcelFileDescriptor;", "GetGetParcelFileDescriptorHandler")] get; }
[<get: Android.Runtime.Register("getParcelFileDescriptor", "()Landroid/os/ParcelFileDescriptor;", "GetGetParcelFileDescriptorHandler")>]
member this.ParcelFileDescriptor : Android.OS.ParcelFileDescriptor

Property Value

Attributes

Remarks

The AssetFileDescriptor contains its own ParcelFileDescriptor, which in addition to the normal FileDescriptor object also allows you to close the descriptor when you are done with it.

Java documentation for android.content.res.AssetFileDescriptor.getParcelFileDescriptor().

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