Package io.rong.imlib
Enum ReadReceiptV2Manager.GroupReadReceiptVersion
-
- All Implemented Interfaces:
public enum ReadReceiptV2Manager.GroupReadReceiptVersion
群已读回执版本枚举声明.
0,标识旧版本方案; 1,标识V2版本方案.
-
-
Field Summary
Fields Modifier and Type Field Description public int
version
-
Enum Constant Summary
Enum Constants Enum Constant Description UNKNOWN
GROUP_READ_RECEIPT_V1
GROUP_READ_RECEIPT_V2
GROUP_READ_RECEIPT_V4
-
Method Summary
Modifier and Type Method Description static ReadReceiptV2Manager.GroupReadReceiptVersion
valueOf(int version)
static Array<ReadReceiptV2Manager.GroupReadReceiptVersion>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static ReadReceiptV2Manager.GroupReadReceiptVersion
valueOf(String name)
Returns the enum constant of this type with the specified name. int
getVersion()
-
-
Method Detail
-
valueOf
static ReadReceiptV2Manager.GroupReadReceiptVersion valueOf(int version)
-
values
static Array<ReadReceiptV2Manager.GroupReadReceiptVersion> 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 ReadReceiptV2Manager.GroupReadReceiptVersion 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
-
getVersion
int getVersion()
-
-
-
-