Package com.teamviewer.sdk.screensharing
Enum Class FileBoxItem.State
- All Implemented Interfaces:
Serializable
,Comparable<FileBoxItem.State>
,Constable
- Enclosing interface:
FileBoxItem
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe item is available locally because the transfer was finished successful or it's our own item.The item is not available locally but can be downloaded.The item is currently downloading or uploading. -
Method Summary
Modifier and TypeMethodDescriptionstatic FileBoxItem.State
Returns the enum constant of this class with the specified name.static FileBoxItem.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
READY_TO_DOWNLOAD
The item is not available locally but can be downloaded.- See Also:
-
TRANSFER_IN_PROGRESS
The item is currently downloading or uploading. The transfer progress can be observed with anFileBoxItem.TransferProgressCallback
. -
AVAILABLE_LOCALLY
The item is available locally because the transfer was finished successful or it's our own item.FileBoxItem.getFilePath()
will return the full file path in this state.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-