CatalogVersionHint class abstract
This is a class for capturing user's intent for the desired catalog version to use in DesiredCatalog class.
You can request a specific or latest version of a catalog by calling the static functions CatalogVersionHint.specific and CatalogVersionHint.latestWithIgnoringCachedData respectively. The HERE platform will make the best effort to provide an appropriate version for the catalog based on this version hint. Please take note that for the API CatalogVersionHint.specific to function properly, it is essential that the mutable and persistent storage should be cleaned.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
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
Static Methods
-
latestWithIgnoringCachedData(
bool ignoreCachedData) → CatalogVersionHint -
This static method can be called when you are interested in getting the most latest version of
a catalog when initializing the HERE SDK with
SDKOptionswhere you can specify the catalog(s) you want to use. -
specific(
int version) → CatalogVersionHint - This static method is used when you are interested in a specific version of a catalog, that you want to specify manually.