public enum GSocketProtocol extends Enum<GSocketProtocol>
| Modifier and Type | Method and Description |
|---|---|
static GSocketProtocol |
fromGioValue(int gioValue) |
int |
toGioValue() |
static GSocketProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GSocketProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GSocketProtocol UNKNOWN
public static final GSocketProtocol DEFAULT
public static final GSocketProtocol TCP
public static final GSocketProtocol UDP
public static final GSocketProtocol SCTP
public static GSocketProtocol[] values()
for (GSocketProtocol c : GSocketProtocol.values()) System.out.println(c);
public static GSocketProtocol 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 toGioValue()
public static GSocketProtocol fromGioValue(int gioValue)
Copyright © 2021 gstreamer-java. All rights reserved.