OfflineSearchIndexError enum

Error corresponding to the offline search operation.

Values

invalidPersistentPath → const OfflineSearchIndexError

Unreachable SDKOptions.persistentMapStoragePath or lacking required permission to generate index inside.

mapError → const OfflineSearchIndexError

Failed to get installed regions in protected cache. Any previous available index would be deleted when this error occurs. Use method MapDownloader.getInitialPersistentMapStatus to get the status of the map and check maploader.PersistentMapStatus for exact healing procedure for specific status.

databaseError → const OfflineSearchIndexError

Unable to generate index due to failed database operation. Any previous available index would be deleted when this error occurs. Call MapDownloader.repairPersistentMap to retry index generation.

operationCancelled → const OfflineSearchIndexError

Indexing operation cancelled due to OS killing the application or when a new indexing operation is invoked by SDK after finishing a map operation while the previous indexing operation was in progress. Any previous available index would be deleted when this error occurs. In later case, SDK would finish the latest indexing operation successfully and it can be tracked through OfflineSearchIndexListener, otherwise call MapDownloader.repairPersistentMap to retry index generation.

internalError → const OfflineSearchIndexError

Internal error occurred.

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