Package io.rong.push
Enum RongPushClient.ConversationType
-
- All Implemented Interfaces:
public enum RongPushClient.ConversationType
会话类型枚举。
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONE
PRIVATE
私聊。
DISCUSSION
讨论组。
GROUP
群组。
CHATROOM
聊天室。
CUSTOMER_SERVICE
客服。
SYSTEM
系统。
APP_PUBLIC_SERVICE
应用公众服务。
PUBLIC_SERVICE
公众服务平台。
PUSH_SERVICE
push 推送。
ULTRA_GROUP
超级群
ENCRYPTED
加密会话(仅对部分私有云用户开放,公有云用户不适用)。
RTC_ROOM
rtc 音视频通话类型。
-
Method Summary
Modifier and Type Method Description static Array<RongPushClient.ConversationType>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static RongPushClient.ConversationType
valueOf(String name)
Returns the enum constant of this type with the specified name. int
getValue()
获取会话类型的值。 static RongPushClient.ConversationType
setValue(int code)
设置会话类型。 String
getName()
获取会话类型名称。 -
-
Method Detail
-
values
static Array<RongPushClient.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 RongPushClient.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()
获取会话类型的值。
- Returns:
会话类型的值。
-
setValue
static RongPushClient.ConversationType setValue(int code)
设置会话类型。
- Parameters:
code
- 会话类型的值。- Returns:
会话类型枚举。
-
getName
String getName()
获取会话类型名称。
- Returns:
会话类型名称。
-
-
-
-