All Classes

com.voximplant.sdk.client

Enum LoginError

  • java.lang.Object
    • java.lang.Enum<LoginError>
      • com.voximplant.sdk.client.LoginError
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<LoginError>


    public enum LoginError extends java.lang.Enum<LoginError>
    Login related error codes.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static LoginError valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static LoginError[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • INVALID_PASSWORD

        public static final LoginError INVALID_PASSWORD
        Invalid password or token
      • INVALID_USERNAME

        public static final LoginError INVALID_USERNAME
        Invalid username
      • ACCOUNT_FROZEN

        public static final LoginError ACCOUNT_FROZEN
        User account is frozen
      • INTERNAL_ERROR

        public static final LoginError INTERNAL_ERROR
        Internal error
      • INVALID_STATE

        public static final LoginError INVALID_STATE
        Operation is performed in invalid state, f.ex. not connected, currently logging or already logged in
      • NETWORK_ISSUES

        public static final LoginError NETWORK_ISSUES
        Login is failed due to network problem
      • TOKEN_EXPIRED

        public static final LoginError TOKEN_EXPIRED
        Token expired
      • TIMEOUT

        public static final LoginError TIMEOUT
        Timeout
    • Method Detail

      • values

        public static LoginError[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
         for (LoginError c : LoginError.values())   System.out.println(c); 
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LoginError valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null