public enum PadMode extends Enum<PadMode>
Pad. After activating a pad, which usually happens when
the parent element goes from State.READY to State.PAUSED, the
PadMode defines if the Pad operates in push or pull mode.| Enum Constant and Description |
|---|
NONE
Pad will not handle dataflow
|
PULL
Pad handles dataflow in upstream pull mode
|
PUSH
Pad handles dataflow in downstream push mode
|
| Modifier and Type | Method and Description |
|---|---|
static PadMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PadMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PadMode NONE
public static final PadMode PUSH
public static final PadMode PULL
public static PadMode[] values()
for (PadMode c : PadMode.values()) System.out.println(c);
public static PadMode 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 © 2021 gstreamer-java. All rights reserved.