Access and manage downloadable content provided by the content store.
Use this service to discover, query and manage downloadable content such as map regions, style packages and voice packs represented as ContentStoreItem objects. The API exposes methods to list local content, request online catalogues, start downloads and control concurrent download behavior.
For content update workflows use the ContentUpdater available through createContentUpdater
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 Properties
- transferStatistics → TransferStatistics
-
Transfer statistics for content downloads/uploads.
no setter
Static Methods
-
asyncGetStoreContentList(
ContentType type, void onComplete(GemError err, List< ContentStoreItem> items, bool isCached)) → ProgressListener? - Asynchronously request the online store content list for a specific content type.
-
asyncGetStoreFilteredList(
{required ContentType type, List< String> ? countries, GeographicArea? area, void onComplete(GemError err, List<ContentStoreItem> ? items)?}) → ProgressListener? - Asynchronously search the online store content using optional filters.
-
cancel(
ProgressListener listener) → void - Cancel an asynchronous content operation previously started with a returned listener.
-
checkForUpdate(
ContentType type) → GemError - Check for available updates for the specified content type.
-
createContentUpdater(
ContentType type) → (ContentUpdater, GemError) - Create a ContentUpdater for the specified content type.
-
getItemById(
int id) → ContentStoreItem? - Retrieve the ContentStoreItem with the specified id, if it exists.
-
getLocalContentList(
ContentType type) → List< ContentStoreItem> - Return the list of content items downloaded on the device for the specified type.
-
getStoreContentList(
ContentType type) → (List< ContentStoreItem> , bool) - Return the last cached online store content list for the requested type.
-
getStoreFilteredList(
) → List< ContentStoreItem> - Return the last filtered list requested by asyncGetStoreFilteredList.
-
refresh(
) → void - Refresh the local content store state by loading external changes from disk.
-
setParallelDownloadsLimit(
int count) → void - Configure the maximum number of parallel downloads performed by the SDK.