Package org.freedesktop.gstreamer.gst
Enum Class PadProbeType
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<PadProbeType>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum PadProbeType
extends Enum<PadProbeType>
implements Enumeration
The different probing types that can occur. When either one of
GSTPADPROBETYPEIDLE
or GSTPADPROBETYPEBLOCK
is used, the probe will be a
blocking probe.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionprobe upstream events and queries and downstream buffers, buffer lists, events and queriesprobe and block padsprobe and block downstream data (buffers, buffer lists, and events)probe and block upstream data (events)probe and block at the next opportunity, at data flow or when idleprobe buffersprobe buffer listsprobe upstream and downstream data (buffers, buffer lists, and events)probe downstream data (buffers, buffer lists, and events)probe upstream and downstream eventsprobe downstream eventsprobe flush events.probe upstream eventsprobe idle pads and block while the callback is calledinvalid probe typeprobe pullprobe pushprobe upstream and downstream queriesprobe downstream queriesprobe upstream queriesprobe push and pull -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the PadProbeType classint
getValue()
Get the numeric value of this enumstatic PadProbeType
of
(int value) Create a new PadProbeType for the provided valuestatic PadProbeType
Returns the enum constant of this class with the specified name.static PadProbeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INVALID
invalid probe type -
IDLE
probe idle pads and block while the callback is called -
BLOCK
probe and block pads -
BUFFER
probe buffers -
BUFFER_LIST
probe buffer lists -
EVENT_DOWNSTREAM
probe downstream events -
EVENT_UPSTREAM
probe upstream events -
EVENT_FLUSH
probe flush events. This probe has to be explicitly enabled and is not included in theGSTPADPROBETYPEEVENTDOWNSTREAM
orGSTPADPROBETYPEEVENTUPSTREAM
probe types. -
QUERY_DOWNSTREAM
probe downstream queries -
QUERY_UPSTREAM
probe upstream queries -
PUSH
probe push -
PULL
probe pull -
BLOCKING
probe and block at the next opportunity, at data flow or when idle -
DATA_DOWNSTREAM
probe downstream data (buffers, buffer lists, and events) -
DATA_BOTH
probe upstream and downstream data (buffers, buffer lists, and events) -
BLOCK_DOWNSTREAM
probe and block downstream data (buffers, buffer lists, and events) -
BLOCK_UPSTREAM
probe and block upstream data (events) -
EVENT_BOTH
probe upstream and downstream events -
QUERY_BOTH
probe upstream and downstream queries -
ALL_BOTH
probe upstream events and queries and downstream buffers, buffer lists, events and queries -
SCHEDULING
probe push and pull
-
-
Field Details
-
DATA_UPSTREAM
probe upstream data (events)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Create a new PadProbeType for the provided value- Parameters:
value
- the bitfield value- Returns:
- the bitfield for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-
getType
-