# ConversationType

public enum ConversationType

会话类型枚举。

## Entries

NONE
Link copied to clipboard
NONE
PRIVATE
Link copied to clipboard
PRIVATE

私聊。

DISCUSSION
Link copied to clipboard
DISCUSSION

讨论组。

GROUP
Link copied to clipboard
GROUP

群组。

CHATROOM
Link copied to clipboard
CHATROOM

聊天室。

CUSTOMER_SERVICE
Link copied to clipboard
CUSTOMER_SERVICE

客服。

SYSTEM
Link copied to clipboard
SYSTEM

系统。

APP_PUBLIC_SERVICE
Link copied to clipboard
APP_PUBLIC_SERVICE

应用公众服务。

PUBLIC_SERVICE
Link copied to clipboard
PUBLIC_SERVICE

公众服务平台。

PUSH_SERVICE
Link copied to clipboard
PUSH_SERVICE

push 推送。

ULTRA_GROUP
Link copied to clipboard
ULTRA_GROUP

超级群

ENCRYPTED
Link copied to clipboard
ENCRYPTED

加密会话（仅对部分私有云用户开放，公有云用户不适用）。

RTC_ROOM
Link copied to clipboard
RTC_ROOM

rtc 音视频通话类型。

## Properties

name
Link copied to clipboard
public String name
value
Link copied to clipboard
public int value

## Functions

getName
Link copied to clipboard
public String getName()
获取会话类型名称。
getValue
Link copied to clipboard
public int getValue()
获取会话类型的值。
setValue
Link copied to clipboard
public static RongPushClient.ConversationType setValue(int code)
设置会话类型。
valueOf
Link copied to clipboard
public 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.)

values
Link copied to clipboard
public 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.