Package io.rong.imlib
Enum ReadReceiptV2Manager.GroupReadReceiptVersion
-
- All Implemented Interfaces:
public enum ReadReceiptV2Manager.GroupReadReceiptVersionEnum declaration for group read receipt versions.
0, indicates the legacy version; 1, indicates the V2 version.
-
-
Field Summary
Fields Modifier and Type Field Description public intversion
-
Enum Constant Summary
Enum Constants Enum Constant Description UNKNOWNGROUP_READ_RECEIPT_V1GROUP_READ_RECEIPT_V2GROUP_READ_RECEIPT_V4
-
Method Summary
Modifier and Type Method Description static ReadReceiptV2Manager.GroupReadReceiptVersionvalueOf(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.GroupReadReceiptVersionvalueOf(String name)Returns the enum constant of this type with the specified name. intgetVersion()-
-
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()
-
-
-
-