MSFTileDownloadListener

Objective-C


@interface MSFTileDownloadListener : NSObject {
  void *swigCPtr;
  BOOL swigCMemOwn;
}

Swift

class MSFTileDownloadListener : NSObject

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;

    Swift

    func onDownloadStarting(_ tileCount: Int32)

    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)onDownloadStartingSwigExplicitMSFTileDownloadListener:(int)tileCount;

    Swift

    func onDownloadStartingSwigExplicitMSFTileDownloadListener(_ tileCount: Int32)

    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;

    Swift

    func onDownloadProgress(_ progress: Float)

    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)onDownloadProgressSwigExplicitMSFTileDownloadListener:(float)progress;

    Swift

    func onDownloadProgressSwigExplicitMSFTileDownloadListener(_ progress: Float)

    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;

    Swift

    func onDownloadCompleted()
  • Listener method that is called when downloading has finished.

    Declaration

    Objective-C

    - (void)onDownloadCompletedSwigExplicitMSFTileDownloadListener;

    Swift

    func onDownloadCompletedSwigExplicitMSFTileDownloadListener()
  • Listener method that is called when a tile download fails.

    Declaration

    Objective-C

    - (void)onDownloadFailed:(MSFMapTile *)tile;

    Swift

    func onDownloadFailed(_ tile: MSFMapTile!)

    Parameters

    tile

    The tile that could not be downloaded.

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

    Declaration

    Objective-C

    - (void)onDownloadFailedSwigExplicitMSFTileDownloadListener:(MSFMapTile *)tile;

    Swift

    func onDownloadFailedSwigExplicitMSFTileDownloadListener(_ tile: MSFMapTile!)

    Parameters

    tile

    The tile that could not be downloaded.

  • Undocumented

    Declaration

    Objective-C

    -(id)init;

    Swift

    init!()
  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()