Package com.teamviewer.sdk.screensharing
Enum Class ErrorCallback.ErrorCode
- All Implemented Interfaces:
Serializable
,Comparable<ErrorCallback.ErrorCode>
,Constable
- Enclosing interface:
ErrorCallback
Enum indicating the cause of an error.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAny kind of connection problem.The providedsession code
is already closed.The providedsession code
has already expired.The providedsession code
is invalid.At least one of the providedfiles
can't be read.At least one of the providedfiles
exceeds the maximum file size limit.shareFiles()
is not allowed by access control settings.shareFiles()
exceeds the maximum file limit.The providedtoken
for this SDK is invalid or couldn't be checked. -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorCallback.ErrorCode
Returns the enum constant of this class with the specified name.static ErrorCallback.ErrorCode[]
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
-
TOKEN_INVALID
The providedtoken
for this SDK is invalid or couldn't be checked. -
SESSION_CODE_INVALID
The providedsession code
is invalid. -
SESSION_CODE_EXPIRED
The providedsession code
has already expired. -
SESSION_CODE_CLOSED
The providedsession code
is already closed. -
SHAREFILES_CANNOT_READ_FILE
At least one of the providedfiles
can't be read. -
SHAREFILES_NOT_ALLOWED
shareFiles()
is not allowed by access control settings. -
SHAREFILES_FILE_TOO_LARGE
At least one of the providedfiles
exceeds the maximum file size limit. -
SHAREFILES_TOO_MANY_FILES
shareFiles()
exceeds the maximum file limit. -
NETWORK_ERROR
Any kind of connection problem.
-
-
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
-