Enum ChatErrorCode
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum ChatErrorCode extends Enum<ChatErrorCode>
Enumerable that associates code returned by the Stream backend with description.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classChatErrorCode.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Integercodeprivate final Stringdescriptionprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<ChatErrorCode>entries
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description final ChatErrorCodevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<ChatErrorCode>values()Returns an array containing the constants of this enum type, in the order they're declared. final IntegergetCode()final StringgetDescription()final EnumEntries<ChatErrorCode>getEntries()Enumerable that associates code returned by the Stream backend with description. -
-
Method Detail
-
valueOf
final ChatErrorCode valueOf(String value)
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:
value- The code returned by the backend.
-
values
final Array<ChatErrorCode> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getDescription
final String getDescription()
-
getEntries
final EnumEntries<ChatErrorCode> getEntries()
Enumerable that associates code returned by the Stream backend with description.
-
-
-
-