ContentStore class Content

Content store object

This behaves like a singleton, i.e. all instances are sharing behind the same API interface

Constructors

ContentStore()

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 onCompleteCallback(GemError err, List<ContentStoreItem>? items, bool? isCached)) ProgressListener?
Asynchronously gets an online store content list.
cancel(ProgressListener listener) → void
Cancels an asynchronous operation.
checkForUpdate(ContentType type) GemError
Check for update on the given content type.
createContentUpdater(ContentType type) Pair<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) Pair<List<ContentStoreItem>, bool>
Gets access to the store cached content list.
refreshContentStore() → void
Refresh the content store by loading external changes from disk.
setParallelDownloadsLimit(int count) → void
Set parallel downloads count.