public static enum ChatRoomInfo.ChatRoomMemberOrder extends java.lang.Enum<ChatRoomInfo.ChatRoomMemberOrder>
枚举常量和说明 |
---|
RC_CHAT_ROOM_MEMBER_ASC
升序,返回最早加入的用户列表.
|
RC_CHAT_ROOM_MEMBER_DESC
降序,返回最晚加入的用户列表.
|
限定符和类型 | 方法和说明 |
---|---|
int |
getValue() |
static ChatRoomInfo.ChatRoomMemberOrder |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ChatRoomInfo.ChatRoomMemberOrder[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ChatRoomInfo.ChatRoomMemberOrder RC_CHAT_ROOM_MEMBER_ASC
public static final ChatRoomInfo.ChatRoomMemberOrder RC_CHAT_ROOM_MEMBER_DESC
public static ChatRoomInfo.ChatRoomMemberOrder[] values()
for (ChatRoomInfo.ChatRoomMemberOrder c : ChatRoomInfo.ChatRoomMemberOrder.values()) System.out.println(c);
public static ChatRoomInfo.ChatRoomMemberOrder valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int getValue()
Copyright © 2020 RongCloud. All Rights Reserved.