Constructor and Description |
---|
StreamAssetInfo(AssetManager assetManager,
AssetKey<?> assetKey,
java.io.InputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
openStream()
Implementations of this method should return an
InputStream
allowing access to the data represented by the AssetKey . |
getKey, getManager, toString
public StreamAssetInfo(AssetManager assetManager, AssetKey<?> assetKey, java.io.InputStream inputStream)
public java.io.InputStream openStream()
AssetInfo
InputStream
allowing access to the data represented by the AssetKey
.
Each invocation of this method should return a new stream to the asset data, starting at the beginning of the file.
openStream
in class AssetInfo