| java.lang.Object | |
| ↳ | com.carto.datasources.TileDownloadListener |
Listener for tile downloader.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| TileDownloadListener() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| synchronized void | delete() | ||||||||||
| void |
onDownloadCompleted()
Listener method that is called when downloading has finished.
| ||||||||||
| void |
onDownloadFailed(MapTile tile)
Listener method that is called when a tile download fails.
| ||||||||||
| void |
onDownloadProgress(float progress)
Listener method that is called to report about download progress.
| ||||||||||
| void |
onDownloadStarting(int tileCount)
Listener method that is called before download has actually started to report the total tile count.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Listener method that is called when downloading has finished.
Listener method that is called when a tile download fails.
| tile | The tile that could not be downloaded. |
|---|
Listener method that is called to report about download progress.
| progress | The progress of the download, from 0 to 100. |
|---|
Listener method that is called before download has actually started to report the total tile count.
| tileCount | The number of tiles that will be downloaded (if not already in the cache). |
|---|