public enum PadProbeType extends Enum<PadProbeType> implements NativeFlags<PadProbeType>
IDLE
or BLOCK is used, the probe will be a blocking probe.
For convenience, the various flag combinations are provided as immutable Sets.
See upstream documentation at https://gstreamer.freedesktop.org/documentation/gstreamer/gstpad.html#GstPadProbeType
| Enum Constant and Description |
|---|
BLOCK
Probe and block pads.
|
BUFFER
Probe buffers.
|
BUFFER_LIST
Probe buffer lists.
|
EVENT_DOWNSTREAM
Probe downstream events.
|
EVENT_FLUSH
Probe flush events.
|
EVENT_UPSTREAM
Probe upstream events.
|
IDLE
Probe idle pads and block while the callback is called.
|
PULL
Probe pull.
|
PUSH
Probe push.
|
QUERY_DOWNSTREAM
Probe downstream queries.
|
QUERY_UPSTREAM
Probe upstream queries.
|
| Modifier and Type | Field and Description |
|---|---|
static Set<PadProbeType> |
ALL_BOTH
Probe upstream events and queries and downstream buffers, buffer lists,
events and queries.
|
static Set<PadProbeType> |
BLOCK_DOWNSTREAM
Probe and block downstream data (buffers, buffer lists and events).
|
static Set<PadProbeType> |
BLOCK_UPSTREAM
Probe and block upstream data (events).
|
static Set<PadProbeType> |
BLOCKING
Probe and block at the next opportunity, at data flow or when idle.
|
static Set<PadProbeType> |
DATA_BOTH
Probe upstream and downstream data (buffers, buffer lists and events).
|
static Set<PadProbeType> |
DATA_DOWNSTREAM
Probe downstream data (buffers, buffer lists and events).
|
static Set<PadProbeType> |
DATA_UPSTREAM
Probe upstream data (events).
|
static Set<PadProbeType> |
EVENT_BOTH
Probe upstream and downstream events.
|
static Set<PadProbeType> |
QUERY_BOTH
Probe upstream and downstream queries.
|
static Set<PadProbeType> |
SCHEDULING
Probe push and pull.
|
| Modifier and Type | Method and Description |
|---|---|
int |
intValue() |
static PadProbeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PadProbeType[] |
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, toInt, toIntfromInt, fromIntpublic static final PadProbeType IDLE
public static final PadProbeType BLOCK
public static final PadProbeType BUFFER
public static final PadProbeType BUFFER_LIST
public static final PadProbeType EVENT_DOWNSTREAM
public static final PadProbeType EVENT_UPSTREAM
public static final PadProbeType EVENT_FLUSH
public static final PadProbeType QUERY_DOWNSTREAM
public static final PadProbeType QUERY_UPSTREAM
public static final PadProbeType PUSH
public static final PadProbeType PULL
public static final Set<PadProbeType> BLOCKING
public static final Set<PadProbeType> DATA_DOWNSTREAM
public static final Set<PadProbeType> DATA_UPSTREAM
public static final Set<PadProbeType> DATA_BOTH
public static final Set<PadProbeType> BLOCK_DOWNSTREAM
public static final Set<PadProbeType> BLOCK_UPSTREAM
public static final Set<PadProbeType> EVENT_BOTH
public static final Set<PadProbeType> QUERY_BOTH
public static final Set<PadProbeType> ALL_BOTH
public static final Set<PadProbeType> SCHEDULING
public static PadProbeType[] values()
for (PadProbeType c : PadProbeType.values()) System.out.println(c);
public static PadProbeType 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<PadProbeType>Copyright © 2021 gstreamer-java. All rights reserved.