MapDownloaderTask

public class MapDownloaderTask
extension MapDownloaderTask: NativeBase
extension MapDownloaderTask: Hashable

A class to control map download process.

  • Cancels the ongoing map download operation. Operation cannot be resumed afterwards. It will do nothing if the task was already cancelled or has been completed. Status of the call will be reported via onDownloadRegionsComplete(...). MapLoaderError.operationCancelled will be reported for successful cancel.

    Declaration

    Swift

    public func cancel()
  • Pauses the ongoing map download operation. Operation can be resumed afterwards. It will do nothing if operation is not in running state. Status of the call will be reported via onPause(...).

    Declaration

    Swift

    public func pause()
  • Resumes paused map download operation. It will do nothing if operation is not in paused state. Status of the call will be reported via onResume(...).

    Declaration

    Swift

    public func resume()