public interface ImageDownloader
InputStream
of image by URI.限定符和类型 | 接口和说明 |
---|---|
static class |
ImageDownloader.Scheme
Represents supported schemes(protocols) of URI.
|
限定符和类型 | 方法和说明 |
---|---|
InputStream |
getStream(String imageUri,
Object extra)
Retrieves
InputStream of image by URI. |
InputStream getStream(String imageUri, Object extra) throws IOException
InputStream
of image by URI.imageUri
- Image URIextra
- Auxiliary object which was passed to DisplayImageOptions.extraForDownloader(Object)
; can be nullInputStream
of imageIOException
- if some I/O error occurs during getting image streamUnsupportedOperationException
- if image URI has unsupported scheme(protocol)