Package globus.glmap
Interface GLMapManager.DownloadCallback
- Enclosing class:
- GLMapManager
public static interface GLMapManager.DownloadCallback
Callbacks for download task
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onFinished
(GLMapError error) Called when task is finishedvoid
onProgress
(long totalSize, long downloadedSize, double downloadSpeed) Periodically called to report progress
-
Method Details
-
onProgress
void onProgress(long totalSize, long downloadedSize, double downloadSpeed) Periodically called to report progress- Parameters:
totalSize
- total transfer sizedownloadedSize
- downloaded sizedownloadSpeed
- speed of transfer
-
onFinished
Called when task is finished- Parameters:
error
- error or nil
-