ContentStore class abstract Content

Provides access to the GEM SDK content store.

A service for discovering, querying and managing ContentStoreItem content (maps, styles and voices).

It supports the query of installed items, asynchronous store searches and downloads. Controls installing or updating map/region packages so apps can work reliably in offline mode.

Also see the ContentUpdater for managing content updates.

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
Get the transfer statistics
no setter

Static Methods

asyncGetStoreContentList(ContentType type, void onComplete(GemError err, List<ContentStoreItem>? items, bool? isCached)) ProgressListener?
Asynchronously gets an online store content list.
asyncGetStoreFilteredList({required ContentType type, List<String>? countries, GeographicArea? area, void onComplete(GemError err, List<ContentStoreItem>? items)?, void onCompleteCallback(GemError err, List<ContentStoreItem>? items)?}) ProgressListener?
Asynchronously search the online store content with given filters
cancel(ProgressListener listener) → void
Cancels an asynchronous operation.
checkForUpdate(ContentType type) GemError
Check for update on the given content type.
createContentUpdater(ContentType type) → (ContentUpdater, GemError)
Creates a content updater for the given content type.
getItemById(int id) ContentStoreItem?
Gets the extras item having the specified ID.
getLocalContentList(ContentType type) List<ContentStoreItem>
Gets access to the installed content list.
getStoreContentList(ContentType type) → (List<ContentStoreItem>, bool)
Gets access to the store cached content list.
getStoreFilteredList() List<ContentStoreItem>
Gets access to the last requested filtered list.
refresh() → void
Refresh the content store by loading external changes from disk.
refreshContentStore() → void
Refresh the content store by loading external changes from disk.
setParallelDownloadsLimit(int count) → void
Set parallel downloads count.