Modifier and Type | Field and Description |
---|---|
private StreetsideCache |
cache |
(package private) boolean |
cancelled |
protected CubemapBuilder |
cb |
private List<ITileDownloadingTaskListener> |
listeners
Listeners of the class.
|
private long |
startTime |
private String |
tileId |
Constructor and Description |
---|
TileDownloadingTask(String id) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(ITileDownloadingTaskListener lis)
Adds a new listener.
|
String |
call() |
private void |
fireTileAdded(String id) |
StreetsideCache |
getCache() |
CubemapBuilder |
getCb() |
String |
getId() |
void |
setCache(StreetsideCache cache) |
void |
setCancelled(boolean cancelled) |
void |
setCb(CubemapBuilder cb) |
void |
setId(String id) |
private final long startTime
private StreetsideCache cache
protected CubemapBuilder cb
private final List<ITileDownloadingTaskListener> listeners
boolean cancelled
public TileDownloadingTask(String id)
public final void addListener(ITileDownloadingTaskListener lis)
lis
- Listener to be added.public StreetsideCache getCache()
public void setCache(StreetsideCache cache)
cache
- the cache to setpublic CubemapBuilder getCb()
public void setCb(CubemapBuilder cb)
cb
- the cb to setpublic void setCancelled(boolean cancelled)
cancelled
- the cancelled to setprivate void fireTileAdded(String id)