Package io.rong.imlib.model
Enum Conversation.ConversationType
-
- All Implemented Interfaces:
public enum Conversation.ConversationType
/~english
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONE
/~english
PRIVATE
/~english
DISCUSSION
/~english
GROUP
/~english
CHATROOM
/~english
CUSTOMER_SERVICE
/~english
SYSTEM
/~english
APP_PUBLIC_SERVICE
/~english
PUBLIC_SERVICE
/~english
PUSH_SERVICE
/~english
ULTRA_GROUP
/~english
ENCRYPTED
/~english
RTC_ROOM
/~english
-
Method Summary
Modifier and Type Method Description static Array<Conversation.ConversationType>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static Conversation.ConversationType
valueOf(String name)
Returns the enum constant of this type with the specified name. int
getValue()
/~english static Conversation.ConversationType
setValue(int code)
/~english String
getName()
/~english -
-
Method Detail
-
values
static Array<Conversation.ConversationType> 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.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static Conversation.ConversationType 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.)
- Returns:
the enum constant with the specified name
-
getValue
int getValue()
/~english
-
setValue
static Conversation.ConversationType setValue(int code)
/~english
-
getName
String getName()
/~english
-
-
-
-