public static enum Transfer.TransferState extends Enum<Transfer.TransferState>
枚举常量和说明 |
---|
Canceled
The transfer was canceled and did not complete successfully.
|
Completed
The transfer completed successfully.
|
Failed
The transfer failed.
|
InProgress
The transfer is actively uploading or downloading and hasn't finished yet.
|
Waiting
The transfer is waiting for resources to execute and has not started yet.
|
public static final Transfer.TransferState Waiting
public static final Transfer.TransferState InProgress
public static final Transfer.TransferState Completed
public static final Transfer.TransferState Canceled
public static final Transfer.TransferState Failed
public static Transfer.TransferState[] values()
for (Transfer.TransferState c : Transfer.TransferState.values()) System.out.println(c);
public static Transfer.TransferState valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值Copyright © 2016. All rights reserved.