Android Guides | Samples

Android.Content.Res.AssetFileDescriptor.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: AssetFileDescriptor+AutoCloseInputStream

Syntax

[Android.Runtime.Register("android/content/res/AssetFileDescriptor$AutoCloseInputStream", DoNotGenerateAcw=true)]
public class AssetFileDescriptor.AutoCloseInputStream : ParcelFileDescriptor+AutoCloseInputStream

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.Content.Res
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3

The members of Android.Content.Res.AssetFileDescriptor.AutoCloseInputStream are listed below.

See Also: ParcelFileDescriptor+AutoCloseInputStream

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.