public enum RTCDataChannelState extends Enum<RTCDataChannelState>
Enum Constant and Description |
---|
closed |
closing |
connecting |
open |
Modifier and Type | Method and Description |
---|---|
static RTCDataChannelState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RTCDataChannelState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RTCDataChannelState connecting
public static final RTCDataChannelState open
public static final RTCDataChannelState closing
public static final RTCDataChannelState closed
public static RTCDataChannelState[] values()
for (RTCDataChannelState c : RTCDataChannelState.values()) System.out.println(c);
public static RTCDataChannelState 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 nullCopyright © 2020 Kurento. All rights reserved.