Enum Conversation.ConversationType
-
- All Implemented Interfaces:
public enum Conversation.ConversationType
Conversation type enumeration.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONE
PRIVATE
Private Chat.
DISCUSSION
*Discussion Group.**
GROUP
Group.
CHATROOM
Chatroom.
CUSTOMER_SERVICE
*Customer Support.**
SYSTEM
System.
APP_PUBLIC_SERVICE
Application Official Account Service.
PUBLIC_SERVICE
Public Service Platform.
PUSH_SERVICE
Push notification.
ULTRA_GROUP
Ultra group
ENCRYPTED
Encrypted Conversation (Available only for select private cloud users; not applicable to public cloud users).
RTC_ROOM
RTC audio/video call type.
-
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()
Retrieves the value of the conversation type. static Conversation.ConversationType
setValue(int code)
Sets the conversation type. String
getName()
Retrieves the name of the conversation type. -
-
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()
Retrieves the value of the conversation type.
- Returns:
The value of the conversation type.
-
setValue
static Conversation.ConversationType setValue(int code)
Sets the conversation type.
- Parameters:
code
- The value of the conversation type.- Returns:
The conversation type enumeration.
-
getName
String getName()
Retrieves the name of the conversation type.
- Returns:
The name of the conversation type.
-
-
-
-