UploadHelperListener mixin

上传的回调, 是一个 mixin

按需自行覆盖对应的方法

onUploadStart :开始上传

onUploadPartComplete :上传一个块完毕后的回调

onUploadComplete :上传完成时的回调

onUploadError :上传出错时的回调

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
onLocalMd5Complete(BaiduUploadHelper helper) → void
计算完 md5 后的回调
onUploadComplete(BaiduUploadHelper helper) → void
上传完成的回调
onUploadError(BaiduUploadHelper helper, Object error, StackTrace stackTrace) → void
上传出错的回调
onUploadPartComplete(BaiduUploadHelper helper, int index, String md5) → void
一个块上传完成的回调
onUploadStart(BaiduUploadHelper helper) → void
上传开始
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited