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