NTTileDownloadListener
@interface NTTileDownloadListener : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
Listener for tile downloader.
-
Listener method that is called before download has actually started to report the total tile count.
Declaration
Objective-C
- (void)onDownloadStarting:(int)tileCount;Parameters
tileCountThe number of tiles that will be downloaded (if not already in the cache).
-
Listener method that is called before download has actually started to report the total tile count.
Declaration
Objective-C
- (void)onDownloadStartingSwigExplicitNTTileDownloadListener:(int)tileCount;Parameters
tileCountThe number of tiles that will be downloaded (if not already in the cache).
-
Listener method that is called to report about download progress.
Declaration
Objective-C
- (void)onDownloadProgress:(float)progress;Parameters
progressThe progress of the download, from 0 to 100.
-
Listener method that is called to report about download progress.
Declaration
Objective-C
- (void)onDownloadProgressSwigExplicitNTTileDownloadListener:(float)progress;Parameters
progressThe progress of the download, from 0 to 100.
-
Listener method that is called when downloading has finished.
Declaration
Objective-C
- (void)onDownloadCompleted; -
Listener method that is called when downloading has finished.
Declaration
Objective-C
- (void)onDownloadCompletedSwigExplicitNTTileDownloadListener; -
Listener method that is called when a tile download fails.
Declaration
Objective-C
- (void)onDownloadFailed:(NTMapTile *)tile;Parameters
tileThe tile that could not be downloaded.
-
Listener method that is called when a tile download fails.
Declaration
Objective-C
- (void)onDownloadFailedSwigExplicitNTTileDownloadListener:(NTMapTile *)tile;Parameters
tileThe tile that could not be downloaded.
-
Undocumented
Declaration
Objective-C
-(id)init; -
Undocumented
Declaration
Objective-C
-(void)dealloc;
View on GitHub
NTTileDownloadListener Class Reference