Enum JingleReason.Reason
- java.lang.Object
-
- java.lang.Enum<JingleReason.Reason>
-
- org.jivesoftware.smackx.jingle.element.JingleReason.Reason
-
- All Implemented Interfaces:
Serializable
,Comparable<JingleReason.Reason>
- Enclosing class:
- JingleReason
public static enum JingleReason.Reason extends Enum<JingleReason.Reason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description alternative_session
busy
cancel
connectivity_error
decline
expired
failed_application
failed_transport
general_error
gone
incompatible_parameters
media_error
security_error
success
timeout
unsupported_applications
unsupported_transports
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JingleReason.Reason
fromString(String string)
String
toString()
static JingleReason.Reason
valueOf(String name)
Returns the enum constant of this type with the specified name.static JingleReason.Reason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
alternative_session
public static final JingleReason.Reason alternative_session
-
busy
public static final JingleReason.Reason busy
-
cancel
public static final JingleReason.Reason cancel
-
connectivity_error
public static final JingleReason.Reason connectivity_error
-
decline
public static final JingleReason.Reason decline
-
expired
public static final JingleReason.Reason expired
-
failed_application
public static final JingleReason.Reason failed_application
-
failed_transport
public static final JingleReason.Reason failed_transport
-
general_error
public static final JingleReason.Reason general_error
-
gone
public static final JingleReason.Reason gone
-
incompatible_parameters
public static final JingleReason.Reason incompatible_parameters
-
media_error
public static final JingleReason.Reason media_error
-
security_error
public static final JingleReason.Reason security_error
-
success
public static final JingleReason.Reason success
-
timeout
public static final JingleReason.Reason timeout
-
unsupported_applications
public static final JingleReason.Reason unsupported_applications
-
unsupported_transports
public static final JingleReason.Reason unsupported_transports
-
-
Method Detail
-
values
public static JingleReason.Reason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JingleReason.Reason c : JingleReason.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JingleReason.Reason valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<JingleReason.Reason>
-
fromString
public static JingleReason.Reason fromString(String string)
-
-