cancelDownload method

void cancelDownload()

Cancels an ongoing download operation.

The cancellation is asynchronous; the final completion state will be reported via the progress listener's completion callback (and will typically result in GemError.cancel being delivered to the onComplete callback passed to startDownload).

Implementation

void cancelDownload() {
  objectMethod(pointerId, 'MapDownloaderService', 'cancelDownload');
}