Class TransportCandidate.Channel

java.lang.Object
org.jivesoftware.smackx.jingleold.nat.TransportCandidate.Channel
Enclosing class:
TransportCandidate

public static class TransportCandidate.Channel extends Object
Type-safe enum for the transportElement channel.
  • Field Details

  • Constructor Details

    • Channel

      public Channel(String value)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fromString

      public static TransportCandidate.Channel fromString(String value)
      Returns the MediaChannel constant associated with the String value.
      Parameters:
      value - the input String.
      Returns:
      the channel.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isNull

      public boolean isNull()
      Return true if the channel is not valid.
      Returns:
      true if the channel is null