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

    tileCount

    The 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

    tileCount

    The 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

    progress

    The 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

    progress

    The 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

    tile

    The tile that could not be downloaded.

  • Listener method that is called when a tile download fails.

    Declaration

    Objective-C

    - (void)onDownloadFailedSwigExplicitNTTileDownloadListener:(NTMapTile *)tile;

    Parameters

    tile

    The tile that could not be downloaded.

  • Undocumented

    Declaration

    Objective-C

    -(id)init;
  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;