ContentUpdaterStatus enum Content

Enumerates the possible statuses for a content updater operation.

Inheritance
Available extensions

Values

idle → const ContentUpdaterStatus

Not started.

waitConnection → const ContentUpdaterStatus

Waiting for an internet connection.

waitWIFIConnection → const ContentUpdaterStatus

Waiting for a Wi-Fi internet connection.

checkForUpdate → const ContentUpdaterStatus

Checking for updated items.

download → const ContentUpdaterStatus

Downloading updated content.

fullyReady → const ContentUpdaterStatus

Update is fully downloaded and ready to apply.

When entering this state, ContentUpdater.items will return the list of target items to update.

partiallyReady → const ContentUpdaterStatus

Update is partially downloaded and ready to apply.

downloadRemainingContent → const ContentUpdaterStatus

Downloading remaining content after applying the update.

Finishes downloading the remaining content after applying the update while the status was partiallyReady.

downloadPendingContent → const ContentUpdaterStatus

Downloading pending content.

If a new item starts downloading during an update, it will complete after the update finishes and the status will be set to this value.

complete → const ContentUpdaterStatus

Finished with success.

This state will be returned by convention; the user will also receive ProgressListener.notifyComplete.

error → const ContentUpdaterStatus

Finished with error.

This state will be returned by convention; the user will also receive ProgressListener.notifyComplete with more error details.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<ContentUpdaterStatus>
A constant List of the values in this enum, in order of their declaration.