Package io.rong.imlib.model
Enum ChatRoomSyncEvent.ChatRoomSyncStatusReason
-
- All Implemented Interfaces:
public enum ChatRoomSyncEvent.ChatRoomSyncStatusReason离开原因,只有当 status 为 Quit 时,reason 才有效
-
-
Field Summary
Fields Modifier and Type Field Description public intvalue
-
Enum Constant Summary
Enum Constants Enum Constant Description LeaveOnMyOwn自己主动离开
OtherDeviceLogin多端加入互踢导致离开
-
Method Summary
Modifier and Type Method Description static ChatRoomSyncEvent.ChatRoomSyncStatusReasonvalueOf(int value)static Array<ChatRoomSyncEvent.ChatRoomSyncStatusReason>values()Returns an array containing the constants of this enum type, in the order they're declared. static ChatRoomSyncEvent.ChatRoomSyncStatusReasonvalueOf(String name)Returns the enum constant of this type with the specified name. intgetValue()-
-
Method Detail
-
valueOf
static ChatRoomSyncEvent.ChatRoomSyncStatusReason valueOf(int value)
-
values
static Array<ChatRoomSyncEvent.ChatRoomSyncStatusReason> 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 ChatRoomSyncEvent.ChatRoomSyncStatusReason 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()
-
-
-
-