Enum ResultCode.Enum

  • All Implemented Interfaces:
    Serializable, Comparable<ResultCode.Enum>
    Enclosing class:
    ResultCode

    public static enum ResultCode.Enum
    extends Enum<ResultCode.Enum>
    Contains equivalent values for the ResultCode values. This allows easily using ResultCode values with switch statements.

    ResultCode itself is not an enum because result codes are extensible, hence the UNKNOWN enum value. Extensions can define new result codes, such as the cancel request related result codes.