public enum PadDirection extends Enum<PadDirection> implements NativeEnum<PadDirection>
Pad.| Enum Constant and Description |
|---|
SINK
The
Pad is a sink pad. |
SRC
The
Pad is a source pad. |
UNKNOWN
The direction is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
int |
intValue() |
static PadDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PadDirection[] |
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 PadDirection UNKNOWN
public static final PadDirection SRC
Pad is a source pad.public static final PadDirection SINK
Pad is a sink pad.public static PadDirection[] values()
for (PadDirection c : PadDirection.values()) System.out.println(c);
public static PadDirection 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<PadDirection>Copyright © 2021 gstreamer-java. All rights reserved.