MapLoaderError enum

Specifies possible errors that may result from map downloading/prefetching.

Values

resourceNotFound → const MapLoaderError

The requested resource is not found.

notReady → const MapLoaderError

There's a problem with an ongoing download or update: If an operation is in a paused state, you can resume or cancel it. If no operation is in a paused state: Either wait for active downloads to finish, or cancel existing sdk.maploader.MapDownloader requests and call sdk.maploader.MapDownloader.get_initial_persistent_map_status. If there is a problem, call sdk.maploader.MapDownloader.repair_persistent_map to repair before continuing with other sdk.maploader.MapDownloader operations. This error may occur when an on-going or paused operation prevents the requested task.

invalidArgument → const MapLoaderError

The request passed invalid arguments.

operationCancelled → const MapLoaderError

The request was cancelled (usually by the user).

alreadyInstalled → const MapLoaderError

All tiles of requested regions were already installed, no need for any download.

timeOut → const MapLoaderError

The request exceeded the timeout limit.

serviceUnavailable → const MapLoaderError

The requested service is unavailable.

accessDenied → const MapLoaderError

The access is denied due to invalid credentials.

requestLimitReached → const MapLoaderError

Request limit reached for set a credentials for a particular period of time.

networkConnectionError → const MapLoaderError

A network connection error has happened.

forbidden → const MapLoaderError

The operation is forbidden, make sure your credentials grant the necessary permissions.

mapDataError → const MapLoaderError

Downloaded map data is invalid or a sdk.maploader.RegionId passed to the method sdk.maploader.MapDownloader.delete_regions is incorrect.

unexpectedServerResponse → const MapLoaderError

Received unexpected response from the backend. It means the response is malformed or server returned an internal error. Try repeating the request.

mapManagerError → const MapLoaderError

Error occurred inside the map manager and might be related to network issues. Try repeating the request.

incompleteData → const MapLoaderError

The data to process is incomplete, failed decoding the tile.

serviceAccessFailed → const MapLoaderError

The conditions to access the service are not satisfied. Check if correct sdk.maploader.RegionId was passed to sdk.maploader.MapDownloader.download_regions or download for passed sdk.maploader.RegionId already started. Further control for started download must be performed through sdk.maploader.MapDownloaderTask.

internalError → const MapLoaderError

Internal error occurred.

offline → const MapLoaderError

Online operation is not permitted because offline mode is enabled.

cacheIoError → const MapLoaderError

A cache IO error occurred.

protectedCacheCorrupted → const MapLoaderError

Protected cache is corrupted. It can be a result of downloading the map in the background and the OS killing the application at that time. Use method sdk.maploader.MapDownloader.get_initial_persistent_map_status to get the status of the map and method repair_persistent_map in the MapDownloader to try to fix the cache if it is broken.

migrationRequired → const MapLoaderError

Operation on the protected cache cannot be done due to required migration. Call sdk.maploader.MapDownloader.repair_persistent_map to perform migration.

operationAfterDispose → const MapLoaderError

Method is invoked on object connected to the disposed SDKNativeEngine.

catalogConfigurationError → const MapLoaderError

Misconfiguration of catalogs. This error may occur when sdk.core.engine.CatalogConfiguration is misconfigured and cannot be used for any operation with MapDownloader or MapUpdater. Verify SDKOptions.catalogConfigurations.

pendingUpdate → const MapLoaderError

Map regions update was interrupted. Indicates that the cache state is wrong after an update that was finished not in correct way (e.g sudden app shutdown). Prefetching or removing of map regions are blocked until the update has been completed successfully.

updateBlockedAsAnotherPending → const MapLoaderError

Catalog update cannot proceed as another catalog update is in PENDING_UPDATE state. Update the catalog in PENDING_UPDATE state first, before trying to update another catalog.

brokenUpdate → const MapLoaderError

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.

parallelRequest → const MapLoaderError

Parallel request is already running and conflicting with the current one (e.g updating map and deleting map regions)

proxyAuthenticationFailed → const MapLoaderError

Proxy is not authenticated. Check your proxy credentials.

proxyServerUnreachable → const MapLoaderError

Proxy server unreachable.

notEnoughSpace → const MapLoaderError

There's no sufficient space on the disk to finish operation. For offline maps operation (download or update), it means that there's not enough space on the device. For prefetch operations, it means that there's not enough space in the mutable cache to store the prefetched data.

onlineNavigateOnly → const MapLoaderError

This version of HERE SDK does not support the ability to download maps. Contact the sales team to get access to the full version.

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<MapLoaderError>
A constant List of the values in this enum, in order of their declaration.