Enum LoginScreenState

    • Method Summary

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

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

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

      • INITIAL

        public static final LoginScreenState INITIAL
        The client is at the initial login screen (new user or existing user screen).
      • LOGIN_SCREEN

        public static final LoginScreenState LOGIN_SCREEN
        The client is at the login screen and can enter an username and password.
      • INVALID_CREDENTIALS

        public static final LoginScreenState INVALID_CREDENTIALS
        The client is at the username and/or password is incorrect screen.
      • LOGIN_SCREEN_AUTHENTICATOR

        public static final LoginScreenState LOGIN_SCREEN_AUTHENTICATOR
        The client is at the enter 6-digit code authenticator screen.
      • LOGIN_SCREEN_FORGOT

        public static final LoginScreenState LOGIN_SCREEN_FORGOT
        The client is at the forgot password screen.
      • LOGIN_SCREEN_BANNED

        public static final LoginScreenState LOGIN_SCREEN_BANNED
        The client is at the banned screen.
      • LOGIN_SCREEN_DISCONNECT

        public static final LoginScreenState LOGIN_SCREEN_DISCONNECT
        The client is at the disconnected screen.
    • Method Detail

      • values

        public static LoginScreenState[] 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 (LoginScreenState c : LoginScreenState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LoginScreenState 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