EventListener class abstract
Constructors
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
-
onChanged(
String mediaId, DownloadStatus downloadStatus) → void - Called when status of a download changes from pending to downloading or if a download progresses.
-
onCompleted(
String mediaId, DownloadStatus downloadStatus) → void - Called when download completes.
-
onDeleted(
String mediaId) → void - Called when a media download is marked as deleted. Actual deletion of any downloaded media assets is done asynchronously in the background.
-
onFailed(
String mediaId, DownloadStatus downloadStatus) → void - Called when a download fails.
-
onQueued(
String mediaId, DownloadStatus downloadStatus) → void - Called when a new download is added to queue.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited