public static enum DeliveryReceipt.Type extends Enum<DeliveryReceipt.Type>
Modifier and Type | Method and Description |
---|---|
static DeliveryReceipt.Type |
get(int code) |
int |
getCode() |
static DeliveryReceipt.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeliveryReceipt.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeliveryReceipt.Type RECEIVED
public static final DeliveryReceipt.Type READ
public static final DeliveryReceipt.Type USER_ACK
public static DeliveryReceipt.Type[] values()
for (DeliveryReceipt.Type c : DeliveryReceipt.Type.values()) System.out.println(c);
public static DeliveryReceipt.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getCode()
public static DeliveryReceipt.Type get(int code)
Copyright © 2015 Threema GmbH, Staldenbachstrasse 11, 8808 Pfäffikon SZ, Schweiz. All rights reserved.