Enum UserState.Code

    • Enum Constant Detail

      • ATTACHED_NOT_REACHABLE_FOR_PAGING

        public static final UserState.Code ATTACHED_NOT_REACHABLE_FOR_PAGING
      • ATTACHED_REACHABLE_FOR_PAGING

        public static final UserState.Code ATTACHED_REACHABLE_FOR_PAGING
      • CONNECTED_NOT_REACHABLE_FOR_PAGING

        public static final UserState.Code CONNECTED_NOT_REACHABLE_FOR_PAGING
      • CONNECTED_REACHABLE_FOR_PAGING

        public static final UserState.Code CONNECTED_REACHABLE_FOR_PAGING
      • NETWORK_DETERMINED_NOT_REACHABLE

        public static final UserState.Code NETWORK_DETERMINED_NOT_REACHABLE
    • Method Detail

      • values

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

        public static UserState.Code valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getCode

        public int getCode()