ContentUpdater class Content

Provides functionality to update content in the GEM SDK content store.

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

Constructors

ContentUpdater.init(int id, int mapId)

Properties

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

Methods

apply() GemError
Applies the content update.
cancel() → void
Cancels the content update operation.
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)?, void onComplete(GemError error)?}) ProgressListener?
Starts or resumes the update process.

Operators

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