EMDownloadCallback class

群文件下载回调。

Constructors

EMDownloadCallback({void onSuccess(String fileId, String path)?, void onError(String fileId, EMError error)?, void onProgress(String fileId, int progress)?})
创建文件下载对象。

Properties

hashCode int
The hash code for this object.
read-onlyinherited
onError → (void Function(String fileId, EMError error)?)
群文件下载失败回调。
final
onProgress → (void Function(String fileId, int progress)?)
群文件下载进度。取值范围 0,100
final
onSuccess → (void Function(String fileId, String path)?)
群文件下载成功回调。
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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