CosTransferManger class

Constructors

CosTransferManger.new(String _transferKey)

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

download(String bucket, String cosPath, String savePath, {String? region, String? versionId, int? trafficLimit, Map<String, String>? customHeaders, List<String?>? noSignHeaders, ResultListener? resultListener, StateCallBack? stateCallback, ProgressCallBack? progressCallBack}) Future<TransferTask>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runInitMultipleUploadCallback(int key, String bucket, String cosKey, String uploadId) → void
runProgressCallBack(int key, int complete, int target) → void
runResultFailCallBack(int key, CosXmlClientException? clientException, CosXmlServiceException? serviceException) → void
runResultSuccessCallBack(int key, Map<String?, String?>? header, CosXmlResult? result) → void
runStateCallBack(int key, String state) → void
toString() String
A string representation of this object.
inherited
upload(String bucket, String cosPath, {String? region, String? filePath, Uint8List? byteArr, String? uploadId, String? stroageClass, int? trafficLimit, String? callbackParam, Map<String, String>? customHeaders, List<String?>? noSignHeaders, ResultListener? resultListener, StateCallBack? stateCallback, ProgressCallBack? progressCallBack, InitMultipleUploadCallback? initMultipleUploadCallback}) Future<TransferTask>

Operators

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