public static enum FileTransfer.Status extends java.lang.Enum<FileTransfer.Status>
The status of the file transfer.
Enum Constant and Description |
---|
CANCELED
Indicates that the file transfer has been cancelled.
|
COMPLETED
Indicates that the file transfer has been completed successfully.
|
FAILED
Indicates that the file transfer failed.
|
IN_PROGRESS
Indicates that the file transfer is in progress, i.e. bytes are currently streamed.
|
INITIAL
Indicates that the file transfer request has not been accepted yet.
|
REJECTED
Indicates that the file transfer request has been rejected.
|
Modifier and Type | Method and Description |
---|---|
static FileTransfer.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileTransfer.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileTransfer.Status INITIAL
public static final FileTransfer.Status CANCELED
public static final FileTransfer.Status COMPLETED
public static final FileTransfer.Status FAILED
public static final FileTransfer.Status IN_PROGRESS
public static final FileTransfer.Status REJECTED
public static FileTransfer.Status[] values()
for (FileTransfer.Status c : FileTransfer.Status.values()) System.out.println(c);
public static FileTransfer.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 namejava.lang.NullPointerException
- if the argument is nullCopyright © 2014–2019 XMPP.rocks. All rights reserved.