CatalogUpdateTask
public class CatalogUpdateTask
extension CatalogUpdateTask: NativeBase
extension CatalogUpdateTask: Hashable
A class to control the catalog update process.
-
Cancels the ongoing catalog update 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
onComplete(...).MapLoaderError.operationCancelledwill be reported for a successful cancel operation.Declaration
Swift
public func cancel() -
Pauses the ongoing map update operation. Operation can be resumed afterwards. It will do nothing if the operation is not in a running state. Status of the call will be reported via
onPause(...).Declaration
Swift
public func pause() -
Resumes paused map update operation. It will do nothing if operation is not in paused state.
Declaration
Swift
public func resume()