@Gst.Since(minor=14) public enum WebRTCPeerConnectionState extends Enum<WebRTCPeerConnectionState> implements NativeEnum<WebRTCPeerConnectionState>
| Enum Constant and Description |
|---|
CLOSED
A WebRTC connection has been closed
|
CONNECTED
A WebRTC connection has been made
|
CONNECTING
A WebRTC connection is being made
|
DISCONNECTED
A WebRTC connection has been disconnected
|
FAILED
Attempt to make a WebRTC connection failed
|
NEW
New WebRTC connection
|
| Modifier and Type | Method and Description |
|---|---|
int |
intValue() |
static WebRTCPeerConnectionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebRTCPeerConnectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffromInt, fromIntpublic static final WebRTCPeerConnectionState NEW
public static final WebRTCPeerConnectionState CONNECTING
public static final WebRTCPeerConnectionState CONNECTED
public static final WebRTCPeerConnectionState DISCONNECTED
public static final WebRTCPeerConnectionState FAILED
public static final WebRTCPeerConnectionState CLOSED
public static WebRTCPeerConnectionState[] values()
for (WebRTCPeerConnectionState c : WebRTCPeerConnectionState.values()) System.out.println(c);
public static WebRTCPeerConnectionState 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 int intValue()
intValue in interface NativeEnum<WebRTCPeerConnectionState>Copyright © 2021 gstreamer-java. All rights reserved.