EMDownloadCallback class

~english The group shared download callback. ~end

~chinese 群文件下载回调。 ~end

Constructors

EMDownloadCallback({void onSuccess(String fileId, String path)?, void onError(String fileId, EMError error)?, void onProgress(String fileId, int progress)?})
~english Create a group shared file download callback. ~end

Properties

hashCode int
The hash code for this object.
no setterinherited
onError → (void Function(String fileId, EMError error)?)
~english Download error callback. ~end
final
onProgress → (void Function(String fileId, int progress)?)
~english Download progress callback. ~end
final
onSuccess → (void Function(String fileId, String path)?)
~english Download success callback. ~end
final
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