Package com.zello.sdk
Enum Class Error
- All Implemented Interfaces:
Serializable
,Comparable<Error>
,Constable
The
Error
enum represents some of the authentication errors that can be encountered in the Zello SDK.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn update is required.The device identifier provided does not match the one from the Zello Work console.Internet access is currently restricted.An invalid username or password was input.An invalid network name was input.User signed in on another device, which kicked the user off the network on the previous device.Can't join the network.The network was suspended.There is no internet connection.No error.There is a server license problem.A secure connection with the server could not be established.Can't connect to the server.Incorrect credentials were input too many times.An unknown error occurred.Connection is unreliable and is causing the app to repeatedly sign in. -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NONE
No error. -
UNKNOWN
An unknown error occurred. -
INVALID_CREDENTIALS
An invalid username or password was input. -
INVALID_NETWORK_NAME
An invalid network name was input. -
NETWORK_SUSPENDED
The network was suspended. -
SERVER_SECURE_CONNECT_FAILED
A secure connection with the server could not be established. -
SERVER_SIGNIN_FAILED
Can't connect to the server. -
NETWORK_SIGNIN_FAILED
Can't join the network. -
KICKED
User signed in on another device, which kicked the user off the network on the previous device. -
APP_UPDATE_REQUIRED
An update is required. -
NO_INTERNET_CONNECTION
There is no internet connection. -
INTERNET_CONNECTION_RESTRICTED
Internet access is currently restricted. -
SERVER_LICENSE_PROBLEM
There is a server license problem. -
TOO_MANY_SIGNIN_ATTEMPTS
Incorrect credentials were input too many times. -
UNRELIABLE_CONNECTION
Connection is unreliable and is causing the app to repeatedly sign in. -
DEVICE_ID_MISMATCH
The device identifier provided does not match the one from the Zello Work console.
-
-
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
-