public static interface AndroidAssets.AssetSource
AssetManager, but this can be used to load assets from an APK expansion file if
desired.| Modifier and Type | Method and Description |
|---|---|
android.content.res.AssetFileDescriptor |
getFileDescriptor(String assetPath)
Obtains a file descriptor for the asset at
assetPath. |
InputStream |
openStream(String assetPath)
Opens an input stream to the asset at
assetPath. |
InputStream openStream(String assetPath) throws IOException
assetPath.
The path will already have the path prefix prepended.IOExceptionandroid.content.res.AssetFileDescriptor getFileDescriptor(String assetPath) throws IOException
assetPath.
The path will already have the path prefix prepended.IOExceptionCopyright © 2017. All Rights Reserved.