Package io.rong.imlib.model
Enum ChatRoomInfo.ChatRoomMemberOrder
-
- All Implemented Interfaces:
public enum ChatRoomInfo.ChatRoomMemberOrder
-
-
Field Summary
Fields Modifier and Type Field Description public intvalue
-
Enum Constant Summary
Enum Constants Enum Constant Description RC_CHAT_ROOM_MEMBER_ASC升序,返回最早加入的用户列表.
RC_CHAT_ROOM_MEMBER_DESC降序,返回最晚加入的用户列表.
-
Method Summary
Modifier and Type Method Description static Array<ChatRoomInfo.ChatRoomMemberOrder>values()Returns an array containing the constants of this enum type, in the order they're declared. static ChatRoomInfo.ChatRoomMemberOrdervalueOf(String name)Returns the enum constant of this type with the specified name. intgetValue()-
-
Method Detail
-
values
static Array<ChatRoomInfo.ChatRoomMemberOrder> 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 ChatRoomInfo.ChatRoomMemberOrder 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()
-
-
-
-