CosTransferApi class
Constructors
CosTransferApi.new ({BinaryMessenger ? binaryMessenger })
Constructor for CosTransferApi . The binaryMessenger
named argument is
available for dependency injection. If it is left null, the default
BinaryMessenger will be used which routes to the host platform.
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
cancel (String arg_taskId , String arg_transferKey )
→ Future <void >
download (String arg_transferKey , String arg_bucket , String arg_cosPath , String ? arg_region , String arg_savePath , String ? arg_versionId , int ? arg_trafficLimit , int ? arg_resultCallbackKey , int ? arg_stateCallbackKey , int ? arg_progressCallbackKey )
→ Future <String >
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause (String arg_taskId , String arg_transferKey )
→ Future <void >
resume (String arg_taskId , String arg_transferKey )
→ Future <void >
toString ()
→ String
A string representation of this object.
inherited
upload (String arg_transferKey , String arg_bucket , String arg_cosPath , String ? arg_region , String ? arg_filePath , Uint8List ? arg_byteArr , String ? arg_uploadId , String ? arg_stroageClass , int ? arg_trafficLimit , String ? arg_callbackParam , int ? arg_resultCallbackKey , int ? arg_stateCallbackKey , int ? arg_progressCallbackKey , int ? arg_initMultipleUploadCallbackKey )
→ Future <String >
tencentcloud_cos_sdk_plugin 1.2.2