PersistentMapStatus enum

Specifies possible statuses of the already downloaded map regions as a whole.

Note: This can be valid only for a single region in case of a PersistentMapStatus.corrupted state.

Values

ok → const PersistentMapStatus

All downloaded regions are in a workable state, no issues found.

corrupted → const PersistentMapStatus

One or more downloaded regions failed to open and a repair action should be performed to mitigate this issue. All map download and map update operations (except for sdk.maploader.MapDownloader.repair_persistent_map) will return sdk.maploader.MapLoaderError.NOT_READY.

brokenUpdate → const PersistentMapStatus

Unrecoverable error during construction of pending update parameters. Operations such as catalog updates or region downloads will fail. The healing procedure is to clean persistent map with sdk.maploader.MapDownloader.clear_persistent_map_storage.

migrationNeeded → const PersistentMapStatus

Indicates that the downloaded regions need to be migrated to a new internal format by calling sdk.maploader.MapDownloader.repair_persistent_map. This error is not a result of a data loss, nor any data will be lost when performing the repair operation and the map version will stay unchanged afterwards.

pendingUpdate → const PersistentMapStatus

A map update operation initiated by a user has been interrupted. Calls to sdk.maploader.MapDownloader.download_regions and sdk.maploader.MapDownloader.delete_regions will fail with sdk.maploader.MapLoaderError.INTERNAL_ERROR. To repair a map, call again sdk.maploader.MapUpdater.update_catalog for the affected catalog. sdk.maploader.MapUpdater.retrieve_catalogs_update_info returns a list of sdk.maploader.CatalogUpdateInfo items: The affected catalog can be identified by the state, which is set to sdk.maploader.CatalogUpdateState.PENDING_UPDATE. To know if a map needs to be repaired, check if sdk.maploader.MapLoaderError.PENDING_UPDATE has occurred.

invalidPath → const PersistentMapStatus

Unreachable SDKOptions.cachePath or SDKOptions.persistentMapStoragePath. Make sure that SDKOptions has accessible SDKOptions.cachePath and SDKOptions.persistentMapStoragePath

invalidState → const PersistentMapStatus

Unrecoverable error during construction of internal map access object. The healing procedure is to clean persistent map with sdk.maploader.MapDownloader.clear_persistent_map_storage.

storageClosed → const PersistentMapStatus

Indicates that the status cannot be retrieved as the map storage is already closed due to disposal of SDKNativeEngine.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<PersistentMapStatus>
A constant List of the values in this enum, in order of their declaration.