public static enum DtlsControl.Setup extends Enum<DtlsControl.Setup>
| Modifier and Type | Method and Description |
|---|---|
static DtlsControl.Setup |
parseSetup(String s)
Parses a String into a Setup enum value.
|
String |
toString() |
static DtlsControl.Setup |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DtlsControl.Setup[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DtlsControl.Setup ACTIVE
public static final DtlsControl.Setup ACTPASS
public static final DtlsControl.Setup HOLDCONN
public static final DtlsControl.Setup PASSIVE
public static DtlsControl.Setup[] values()
for (DtlsControl.Setup c : DtlsControl.Setup.values()) System.out.println(c);
public static DtlsControl.Setup 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 DtlsControl.Setup parseSetup(String s)
toString(); otherwise, the method will throw an exception.s - the String to parse into a Setup enum
valueIllegalArgumentException - if none of the Setup enum
values produce the specified s when toString() is
invoked on themNullPointerException - if s is nullpublic String toString()
toString in class Enum<DtlsControl.Setup>Copyright © 2021 jitsi.org. All rights reserved.