public enum TransportMode extends Enum<TransportMode>
| Modifier and Type | Method and Description |
|---|---|
static TransportMode |
find(String transportMode) |
String |
toString() |
static TransportMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransportMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportMode UDP
public static final TransportMode TCP
public static final TransportMode BOTH
public static TransportMode[] values()
for (TransportMode c : TransportMode.values()) System.out.println(c);
public static TransportMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static TransportMode find(String transportMode)
public String toString()
toString in class Enum<TransportMode>Copyright © 2021 Kurento. All rights reserved.