public final class CacheUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
CacheUtils.IgnoreDownload |
static class |
CacheUtils.PICTURE
Picture quality
|
| Modifier and Type | Field and Description |
|---|---|
private static CacheUtils.IgnoreDownload |
ignoreDownload |
| Modifier | Constructor and Description |
|---|---|
private |
CacheUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
downloadCubemap(StreetsideImage cm)
Downloads the the thumbnail and the full resolution picture of the given
image.
|
static void |
downloadPicture(StreetsideImage img)
Downloads the the thumbnail and the full resolution picture of the given
image.
|
static void |
downloadPicture(StreetsideImage img,
CacheUtils.PICTURE pic)
Downloads the picture of the given image.
|
static void |
submit(String key,
StreetsideCache.Type type,
ICachedLoaderListener lis)
Requests the picture with the given key and quality and uses the given
listener.
|
private static CacheUtils.IgnoreDownload ignoreDownload
private CacheUtils()
public static void downloadPicture(StreetsideImage img)
img - The image whose picture is going to be downloaded.public static void downloadCubemap(StreetsideImage cm)
cm - The image whose picture is going to be downloaded.public static void downloadPicture(StreetsideImage img, CacheUtils.PICTURE pic)
img - The image to be downloaded.pic - The picture type to be downloaded (full quality, thumbnail or
both.)public static void submit(String key, StreetsideCache.Type type, ICachedLoaderListener lis)
key - The key of the picture to be requested.type - The quality of the picture to be requested.lis - The listener that is going to receive the picture.