Package ch.threema.apitool.messages
Enum Class GroupDeliveryReceipt.Type
- All Implemented Interfaces:
Serializable,Comparable<GroupDeliveryReceipt.Type>,Constable
- Enclosing class:
GroupDeliveryReceipt
A delivery receipt type. The following types are defined:
RECEIVED: the message has been received and decrypted on the recipient's device
READ: the message has been shown to the user in the chat view (note that this status can be
disabled)
USER_ACK: the user has explicitly acknowledged the message (usually by
long-pressing it and choosing the "acknowledge" option)
USER_DEC: the user has explicitly declined the message
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic GroupDeliveryReceipt.Typeget(int code) intgetCode()static GroupDeliveryReceipt.TypeReturns the enum constant of this class with the specified name.static GroupDeliveryReceipt.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RECEIVED
-
READ
-
USER_ACK
-
USER_DEC
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getCode
public int getCode() -
get
-