Package tvi.webrtc

Enum Class SessionDescription.Type

java.lang.Object
java.lang.Enum<SessionDescription.Type>
tvi.webrtc.SessionDescription.Type
All Implemented Interfaces:
Serializable, Comparable<SessionDescription.Type>, Constable
Enclosing class:
SessionDescription

public static enum SessionDescription.Type extends Enum<SessionDescription.Type>
Java-land enum version of SessionDescriptionInterface's type() string.
  • Enum Constant Details

  • Method Details

    • values

      public static SessionDescription.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SessionDescription.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • canonicalForm

      public String canonicalForm()
    • fromCanonicalForm

      public static SessionDescription.Type fromCanonicalForm(String canonical)