MapUpdateTask Class Reference
- Last UpdatedJun 10, 2025
- 1 minute read
public class MapUpdateTask
extension MapUpdateTask: NativeBase
extension MapUpdateTask: Hashable
A class to control the map update process.
-
Cancels the ongoing map 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.operationCancelled
will 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()