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 Summary
Fields Modifier and Type Field Description static TransportCandidate.Channel
MYRTCPVOICE
static TransportCandidate.Channel
MYRTPVOICE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static TransportCandidate.Channel
fromString(String value)
Returns the MediaChannel constant associated with the String value.int
hashCode()
boolean
isNull()
Return true if the channel is not valid.String
toString()
-
-
-
Field Detail
-
MYRTPVOICE
public static final TransportCandidate.Channel MYRTPVOICE
-
MYRTCPVOICE
public static final TransportCandidate.Channel MYRTCPVOICE
-
-
Method Detail
-
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.
-
isNull
public boolean isNull()
Return true if the channel is not valid.- Returns:
- true if the channel is null
-
-