Package com.zello.sdk

Enum Class Error

java.lang.Object
java.lang.Enum<Error>
com.zello.sdk.Error
All Implemented Interfaces:
Serializable, Comparable<Error>, Constable

public enum Error extends Enum<Error>
The Error enum represents some of the authentication errors that can be encountered in the Zello SDK.
  • Enum Constant Details

    • NONE

      public static final Error NONE
      No error.
    • UNKNOWN

      public static final Error UNKNOWN
      An unknown error occurred.
    • INVALID_CREDENTIALS

      public static final Error INVALID_CREDENTIALS
      An invalid username or password was input.
    • INVALID_NETWORK_NAME

      public static final Error INVALID_NETWORK_NAME
      An invalid network name was input.
    • NETWORK_SUSPENDED

      public static final Error NETWORK_SUSPENDED
      The network was suspended.
    • SERVER_SECURE_CONNECT_FAILED

      public static final Error SERVER_SECURE_CONNECT_FAILED
      A secure connection with the server could not be established.
    • SERVER_SIGNIN_FAILED

      public static final Error SERVER_SIGNIN_FAILED
      Can't connect to the server.
    • NETWORK_SIGNIN_FAILED

      public static final Error NETWORK_SIGNIN_FAILED
      Can't join the network.
    • KICKED

      public static final Error KICKED
      User signed in on another device, which kicked the user off the network on the previous device.
    • APP_UPDATE_REQUIRED

      public static final Error APP_UPDATE_REQUIRED
      An update is required.
    • NO_INTERNET_CONNECTION

      public static final Error NO_INTERNET_CONNECTION
      There is no internet connection.
    • INTERNET_CONNECTION_RESTRICTED

      public static final Error INTERNET_CONNECTION_RESTRICTED
      Internet access is currently restricted.
    • SERVER_LICENSE_PROBLEM

      public static final Error SERVER_LICENSE_PROBLEM
      There is a server license problem.
    • TOO_MANY_SIGNIN_ATTEMPTS

      public static final Error TOO_MANY_SIGNIN_ATTEMPTS
      Incorrect credentials were input too many times.
    • UNRELIABLE_CONNECTION

      public static final Error UNRELIABLE_CONNECTION
      Connection is unreliable and is causing the app to repeatedly sign in.
    • DEVICE_ID_MISMATCH

      public static final Error DEVICE_ID_MISMATCH
      The device identifier provided does not match the one from the Zello Work console.
  • Method Details

    • values

      public static Error[] 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

      public static Error valueOf(String name)
      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 name
      NullPointerException - if the argument is null