public enum SubHandlingType extends java.lang.Enum<SubHandlingType>
Enum Constant and Description |
---|
Allow
This action tells the server to place the subscription into the "active"
state.
|
Block
This action tells the server to reject the subscription, placing it in
the "terminated" state.
|
Confirm
This action tells the server to place the subscription in the "pending"
state, and await input from the presentity to determine how to proceed.
|
PoliteBlock
This action tells the server to place the subscription into the "active"
state, and to produce a presence document that indicates that the
presentity is unavailable.
|
Modifier and Type | Method and Description |
---|---|
static SubHandlingType |
fromString(java.lang.String value)
Creates enum from its value.
|
java.lang.String |
value()
Gets the value.
|
static SubHandlingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubHandlingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubHandlingType Block
public static final SubHandlingType Confirm
public static final SubHandlingType PoliteBlock
public static final SubHandlingType Allow
public static SubHandlingType[] values()
for (SubHandlingType c : SubHandlingType.values()) System.out.println(c);
public static SubHandlingType 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 nullpublic java.lang.String value()
public static SubHandlingType fromString(java.lang.String value)
value
- the enum's value.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.