Android.Content.Res.AssetManager.Open Method
Open an asset using ACCESS_STREAMING mode.

Syntax

[Android.Runtime.Register("open", "(Ljava/lang/String;)Ljava/io/InputStream;", "")]
public System.IO.Stream Open (string fileName)

See Also

AssetManager.Open(string, Android.Content.Res.Access)
AssetManager.List(string)

Parameters

fileName
The name of the asset to open. This name can be hierarchical.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOException

Remarks

Open an asset using ACCESS_STREAMING mode. This provides access to files that have been bundled with an application as assets -- that is, files placed in to the "assets" directory.

[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 1