ContentUpdater class Content

Content updater class

This class should not be instantiated directly. Instead, use the ContentStore.createContentUpdater getter to obtain an instance.

Constructors

ContentUpdater.init(int id, int mapId)

Properties

canApply bool
Check if content update can be applied.
no setter
contentType ContentType
Get content type in update process.
no setter
hashCode int
The hash code for this object.
no setterinherited
isStarted bool
Check if content updater is started.
no setter
items List<ContentStoreItem>
Get the content items list in update process.
no setter
mapId int
no setter
pointerId int
no setter
progress int
Get content type in update process.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ContentUpdaterStatus
Get update operation status.
no setter

Methods

apply() GemError
Apply content update
cancel() → void
Cancel content update.
dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAutoReleaseObject(int pointerId) → void
Registers an object for auto release.
inherited
toString() String
A string representation of this object.
inherited
update(bool allowChargeNetwork, {void onStatusUpdated(ContentUpdaterStatus status)?, void onProgressUpdated(int progress)?, void onCompleteCallback(GemError error)?}) ProgressListener?
Start / resume the update process.

Operators

operator ==(Object other) bool
The equality operator.
inherited