Package io.rong.push
Enum RongPushClient.ConversationType
-
- All Implemented Interfaces:
public enum RongPushClient.ConversationType会话类型枚举。
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONEPRIVATE私聊。
DISCUSSION讨论组。
GROUP群组。
CHATROOM聊天室。
CUSTOMER_SERVICE客服。
SYSTEM系统。
APP_PUBLIC_SERVICE应用公众服务。
PUBLIC_SERVICE公众服务平台。
PUSH_SERVICEpush 推送。
ULTRA_GROUP超级群
ENCRYPTED加密会话(仅对部分私有云用户开放,公有云用户不适用)。
RTC_ROOMrtc 音视频通话类型。
-
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.ConversationTypevalueOf(String name)Returns the enum constant of this type with the specified name. intgetValue()获取会话类型的值。 static RongPushClient.ConversationTypesetValue(int code)设置会话类型。 StringgetName()获取会话类型名称。 -
-
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:
会话类型名称。
-
-
-
-