Enum JingleAction

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<JingleAction>

    public enum JingleAction
    extends java.lang.Enum<JingleAction>
    The "action" in the jingle packet, as an enum.
    • Enum Constant Detail

      • content_accept

        public static final JingleAction content_accept
      • content_modify

        public static final JingleAction content_modify
      • content_reject

        public static final JingleAction content_reject
      • content_remove

        public static final JingleAction content_remove
      • description_info

        public static final JingleAction description_info
      • security_info

        public static final JingleAction security_info
      • session_accept

        public static final JingleAction session_accept
      • session_info

        public static final JingleAction session_info
      • session_initiate

        public static final JingleAction session_initiate
      • session_terminate

        public static final JingleAction session_terminate
      • transport_accept

        public static final JingleAction transport_accept
      • transport_info

        public static final JingleAction transport_info
      • transport_reject

        public static final JingleAction transport_reject
      • transport_replace

        public static final JingleAction transport_replace
    • Method Detail

      • values

        public static JingleAction[] 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 (JingleAction c : JingleAction.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static JingleAction valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<JingleAction>
      • fromString

        public static JingleAction fromString​(java.lang.String string)