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.ChannelMYRTCPVOICEstatic TransportCandidate.ChannelMYRTPVOICE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static TransportCandidate.ChannelfromString(String value)Returns the MediaChannel constant associated with the String value.inthashCode()booleanisNull()Return true if the channel is not valid.StringtoString()
-
-
-
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
-
-