public static enum SubscribeListener.SubscribeAnswer extends java.lang.Enum<SubscribeListener.SubscribeAnswer>
Enum Constant and Description |
---|
Approve
Approve the subscription request.
|
ApproveAndAlsoRequestIfRequired
Approve the subscription request and also request subscription from the other party if not already subscribed.
|
Deny
Deny the subscription request.
|
Modifier and Type | Method and Description |
---|---|
static SubscribeListener.SubscribeAnswer |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubscribeListener.SubscribeAnswer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscribeListener.SubscribeAnswer Approve
public static final SubscribeListener.SubscribeAnswer ApproveAndAlsoRequestIfRequired
public static final SubscribeListener.SubscribeAnswer Deny
public static SubscribeListener.SubscribeAnswer[] values()
for (SubscribeListener.SubscribeAnswer c : SubscribeListener.SubscribeAnswer.values()) System.out.println(c);
public static SubscribeListener.SubscribeAnswer valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null