OfflineSearchIndexError enum
Error corresponding to the offline search operation.
Values
- invalidPersistentPath → const OfflineSearchIndexError
-
Unreachable
SDKOptions.persistentMapStoragePathor 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.getInitialPersistentMapStatusto get the status of the map and checkmaploader.PersistentMapStatusfor 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.repairPersistentMapto 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 callMapDownloader.repairPersistentMapto 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.