MediaDownloadStatus enum

An enumeration of media download statuses.

This enum defines the various states of media download within the application, providing a clear representation of the download status through integer values.

Inheritance
Available extensions

Values

mediaDownloading → const MediaDownloadStatus

Represents the state when media is currently downloading. Associated with the value 3.

const MediaDownloadStatus(3)
mediaDownloaded → const MediaDownloadStatus

Represents the state when media has been downloaded. Associated with the value 4.

const MediaDownloadStatus(4)
mediaNotDownloaded → const MediaDownloadStatus

Represents the state when media has not been downloaded. Associated with the value 5.

const MediaDownloadStatus(5)
mediaDownloadedNotAvailable → const MediaDownloadStatus

Represents the state when media has been downloaded but is not available. Associated with the value 6.

const MediaDownloadStatus(6)
mediaDownloadFailed → const MediaDownloadStatus

Represents the state when media download has failed. Associated with the value 401.

const MediaDownloadStatus(401)
storageNotEnough → const MediaDownloadStatus

Represents the state when there is not enough storage space for media download. Associated with the value 8.

const MediaDownloadStatus(8)

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
value → int
The enum constructor takes a value parameter which is the integer representation of the download status.
final

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

isMediaDownloaded → const int
The integer value associated with the media download status.
isMediaDownloadedNotAvailable → const int
The integer value associated with the media download status.
isMediaDownloadFailed → const int
The integer value associated with the media download status.
isMediaDownloading → const int
The integer value associated with the media download status.
isMediaNotDownloaded → const int
The integer value associated with the media download status.
isStorageNotEnough → const int
The integer value associated with the media download status.
values → const List<MediaDownloadStatus>
A constant List of the values in this enum, in order of their declaration.