程序包 | 说明 |
---|---|
com.tencent.cos.xml.transfer |
限定符和类型 | 方法和说明 |
---|---|
static TransferState |
TransferState.getState(java.lang.String stateAsString)
Returns the transfer state from string
|
TransferState |
COSXMLTask.getTaskState()
获取任务状态
|
TransferState |
COSTransferTask.getTaskState() |
static TransferState |
TransferState.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static TransferState[] |
TransferState.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
void |
TransferListener.onStateChanged(java.lang.String id,
TransferState state)
Called when the state of the transfer is changed.
|
void |
TransferStateListener.onStateChanged(TransferState state)
传输状态变化回调
|
protected void |
COSXMLTask.updateState(TransferState newTaskState,
java.lang.Exception exception,
CosXmlResult result,
boolean isInit)
更新状态
waiting: 准备状态, 任何状态都可以转为它, task 准备执行.
|