BDImageXUploader class

Inheritance

Constructors

BDImageXUploader()

Properties

$instance → dynamic
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

$createInstance(List args) → dynamic
Factory method for creating instances
inherited
$destroy() → void
inherited
$init(List args) → void
inherited
close() → Future
{zh} @brief 终止上传,并释放底层上传对象,释放后不能够继续进行上传。
inherited
initParams(UploaderOptions options) → FutureOr<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAESKey(String aesKey) → FutureOr<void>
setAIGCMetaData(String aigcMetaData) → FutureOr<void>
setEnableAIGCMark(bool enableAIGCMark) → FutureOr<void>
setEnableCommitUpload(bool bool) → FutureOr<void>
setEnableEnd2EndEncryption(bool enable) → FutureOr<void>
setEnableExternDNS(int isEnableExternDNS) → Future
{zh} @brief 对 uploader 实例开启 httpdns 重试功能,取值请指定为 1
inherited
setEnableHttpDNS(bool enableHttpDNS) → FutureOr<void>
setEnableHttpDnsRetry(int enableHttpDnsRetry) → Future
{zh} @brief 对 uploader 实例开启 httpdns 重试功能,取值请指定为 1
inherited
setEnableMd5StoreKey(bool enable) → FutureOr<void>
setEnableOverwrite(bool enable) → Future
{zh} @brief 开启文件重名覆盖上传
inherited
setEnableSkipMeta(bool skipMeta) → FutureOr<void>
setFileExtension(string fileExtension) → Future
{zh} @brief 设置后缀,可选,需要以 . 开头
inherited
setFilePrefix(string filePrefix) → Future
{zh} @brief 设置文件前缀
inherited
setFileRetryCount(int fileRetryCount) → FutureOr<void>
setFileType(String fileType) → FutureOr<void>
setHost(String value) → FutureOr<void>
setListener(ImageXUploaderInfoCallback listener) → FutureOr<void>
setMaxConcurrentFileNum(int concurrentFileNum) → FutureOr<void>
setMaxFailTime(int maxFailTime) → FutureOr<void>
setPublicKey(String publicKey) → FutureOr<void>
setRegion(String region) → FutureOr<void>
setRWTimeout(int rwTimeout) → FutureOr<void>
setServerParameter(String serverParameter) → FutureOr<void>
setSliceRetryCount(int sliceRetryCount) → FutureOr<void>
setSliceSize(int value) → FutureOr<void>
setSliceThreshold(int sliceThreshold) → FutureOr<void>
setSocketNum(int socketNum) → FutureOr<void>
setSpecifiedContentType(List<String> specifiedContentType) → FutureOr<void>
setStoreKeys(List<String> list) → FutureOr<void>
setTraceID(String traceID) → FutureOr<void>
setTranTimeout(int tranTimeout) → FutureOr<void>
start() → Future
{zh} @brief 开始上传 @note SDK 内部在执行此函数的时候,会新建线程,不会阻塞。
override
stop() → Future
{zh} @brief 暂停上传
inherited
toString() → String
A string representation of this object.
inherited
updateInstance(dynamic instance) → void
inherited

Operators

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