Android.Content.Res.AssetFileDescriptor.CreateInputStream Method
Create and return a new auto-close input stream for this asset.

Syntax

[Android.Runtime.Register("createInputStream", "()Ljava/io/FileInputStream;", "GetCreateInputStreamHandler")]
public virtual System.IO.Stream CreateInputStream ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOException

Remarks

Create and return a new auto-close input stream for this asset. This will either return a full asset NoType:android/content/res/AssetFileDescriptor$AutoCloseInputStream;Href=../../../../reference/android/content/res/AssetFileDescriptor.AutoCloseInputStream.html, or an underlying NoType:android/os/ParcelFileDescriptor$AutoCloseInputStream;Href=../../../../reference/android/os/ParcelFileDescriptor.AutoCloseInputStream.html depending on whether the the object represents a complete file or sub-section of a file. You should only call this once for a particular asset.

[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