Android Guides | Samples

Android.OS.ParcelFileDescriptor.AutoCloseInputStream Class

An InputStream you can create on a ParcelFileDescriptor, which will take care of calling ParcelFileDescriptor.Close for you when the stream is closed.

See Also: ParcelFileDescriptor+AutoCloseInputStream

Syntax

[Android.Runtime.Register("android/os/ParcelFileDescriptor$AutoCloseInputStream", DoNotGenerateAcw=true)]
public class ParcelFileDescriptor.AutoCloseInputStream : FileInputStream

Remarks

An InputStream you can create on a ParcelFileDescriptor, which will take care of calling ParcelFileDescriptor.Close for you when the stream is closed.

[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

The members of Android.OS.ParcelFileDescriptor.AutoCloseInputStream are listed below.

See Also: FileInputStream

Public Constructors

Protected Constructors

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

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.