BDImageXUploader class

{zh} @detail api @brief 图片上传类

Inheritance
  • Object
  • PackClass
  • BDImageXUploader
Implementers

Constructors

BDImageXUploader.new()

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
override
$destroy() → void
inherited
$init(List args) → void
inherited
close() Future
{zh} @brief 终止上传,并释放底层上传对象,释放后不能够继续进行上传。
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setEnableExternDNS(int isEnableExternDNS) Future
{zh} @brief 对 uploader 实例开启 httpdns 重试功能,取值请指定为 1
setEnableHttpDnsRetry(int enableHttpDnsRetry) Future
{zh} @brief 对 uploader 实例开启 httpdns 重试功能,取值请指定为 1
setEnableOverwrite(bool enable) Future
{zh} @brief 开启文件重名覆盖上传
setFileExtension(string fileExtension) Future
{zh} @brief 设置后缀,可选,需要以 . 开头
setFilePrefix(string filePrefix) Future
{zh} @brief 设置文件前缀
start() Future
{zh} @brief 开始上传 @note SDK 内部在执行此函数的时候,会新建线程,不会阻塞。
stop() Future
{zh} @brief 暂停上传
toString() String
A string representation of this object.
inherited
updateInstance(dynamic instance) → void
inherited

Operators

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