public static enum DeliveryReceiptManager.AutoReceiptMode extends Enum<DeliveryReceiptManager.AutoReceiptMode>
Enum Constant and Description |
---|
always
Always send delivery receipts.
|
disabled
Never send deliver receipts.
|
ifIsSubscribed
Only send delivery receipts if the requester is subscribed to our presence.
|
Modifier and Type | Method and Description |
---|---|
static DeliveryReceiptManager.AutoReceiptMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeliveryReceiptManager.AutoReceiptMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeliveryReceiptManager.AutoReceiptMode disabled
public static final DeliveryReceiptManager.AutoReceiptMode ifIsSubscribed
public static final DeliveryReceiptManager.AutoReceiptMode always
public static DeliveryReceiptManager.AutoReceiptMode[] values()
for (DeliveryReceiptManager.AutoReceiptMode c : DeliveryReceiptManager.AutoReceiptMode.values()) System.out.println(c);
public static DeliveryReceiptManager.AutoReceiptMode 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 null