|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Transfer.Status>
com.skype.api.Transfer.Status
public static enum Transfer.Status
Recognized values for the P_STATUS property. Reflects current state of this Transfer.
| Enum Constant Summary | |
|---|---|
CANCELLED
Local side (either sender or receiver) has canceled the transfer. |
|
CANCELLED_BY_REMOTE
Remote side (either sender or receiver) has canceled the transfer. |
|
COMPLETED
File transfer has completed. |
|
CONNECTING
A temporary state that transitions either into TRANSFERRING (relayed or direct) or to FAILED. |
|
FAILED
File transfer has failed. |
|
NEW
The file has either not been posted (sent) (OUTGOING), or not accepted (received) (INCOMING). |
|
OFFER_FROM_OTHER_INSTANCE
Outgoing transfer object from another instance of the same account as current local login, running on another system. |
|
PAUSED
The local user (either the sender or a receiver) has paused the transfer. |
|
PLACEHOLDER
Transfer whose existence has been hinted by corresponding chat message, but which is yet to arrive. |
|
REMOTELY_PAUSED
A remote user has paused the transfer. |
|
TRANSFERRING
The transfer has been accepted and file data is being sent/received. |
|
TRANSFERRING_OVER_RELAY
The transfer has been accepted and file data is being sent/received but is going over at least one relay. |
|
WAITING_FOR_ACCEPT
The files have been posted but the recipient has not yet accepted (or has declined) the transfer. |
|
| Field Summary | |
|---|---|
static int |
CANCELLED_BY_REMOTE_VALUE
|
static int |
CANCELLED_VALUE
|
static int |
COMPLETED_VALUE
|
static int |
CONNECTING_VALUE
|
static int |
FAILED_VALUE
|
static int |
NEW_VALUE
|
static int |
OFFER_FROM_OTHER_INSTANCE_VALUE
|
static int |
PAUSED_VALUE
|
static int |
PLACEHOLDER_VALUE
|
static int |
REMOTELY_PAUSED_VALUE
|
static int |
TRANSFERRING_OVER_RELAY_VALUE
|
static int |
TRANSFERRING_VALUE
|
static int |
WAITING_FOR_ACCEPT_VALUE
|
| Method Summary | |
|---|---|
EnumConverting |
convert(int from)
|
static Transfer.Status |
get(int from)
|
EnumConverting[] |
getArray(int size)
|
EnumConverting |
getDefault()
|
int |
getId()
|
static Transfer.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Transfer.Status[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Transfer.Status NEW
public static final Transfer.Status CONNECTING
public static final Transfer.Status WAITING_FOR_ACCEPT
public static final Transfer.Status TRANSFERRING
public static final Transfer.Status TRANSFERRING_OVER_RELAY
public static final Transfer.Status PAUSED
public static final Transfer.Status REMOTELY_PAUSED
public static final Transfer.Status CANCELLED
public static final Transfer.Status COMPLETED
public static final Transfer.Status FAILED
public static final Transfer.Status PLACEHOLDER
public static final Transfer.Status OFFER_FROM_OTHER_INSTANCE
public static final Transfer.Status CANCELLED_BY_REMOTE
| Field Detail |
|---|
public static final int NEW_VALUE
public static final int CONNECTING_VALUE
public static final int WAITING_FOR_ACCEPT_VALUE
public static final int TRANSFERRING_VALUE
public static final int TRANSFERRING_OVER_RELAY_VALUE
public static final int PAUSED_VALUE
public static final int REMOTELY_PAUSED_VALUE
public static final int CANCELLED_VALUE
public static final int COMPLETED_VALUE
public static final int FAILED_VALUE
public static final int PLACEHOLDER_VALUE
public static final int OFFER_FROM_OTHER_INSTANCE_VALUE
public static final int CANCELLED_BY_REMOTE_VALUE
| Method Detail |
|---|
public static Transfer.Status[] values()
for (Transfer.Status c : Transfer.Status.values()) System.out.println(c);
public static Transfer.Status valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic int getId()
getId in interface EnumConvertingpublic EnumConverting getDefault()
getDefault in interface EnumConvertingpublic EnumConverting convert(int from)
convert in interface EnumConvertingpublic EnumConverting[] getArray(int size)
getArray in interface EnumConvertingpublic static Transfer.Status get(int from)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||