Android Guides | Samples

Android.Content.Res.AssetManager.List Method

Return a String array of all the assets at the given path.

Syntax

[Android.Runtime.Register("list", "(Ljava/lang/String;)[Ljava/lang/String;", "")]
public String[] List (String path)

See Also

Parameters

path
A relative path within the assets, i.e., "docs/home.html".

Exceptions

TypeReason
IOException

Remarks

Return a String array of all the assets at the given path.

[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