Package org.freedesktop.gstreamer.gst
Enum Class QueryType
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<QueryType>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum QueryType
extends Enum<QueryType>
implements Enumeration
Standard predefined Query types
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionthe accept caps querythe buffer allocation propertiesthe bitrate query (since 1.16)query available media for efficient seeking.the caps queryquery the pipeline-local context from downstream or upstream (since 1.2)convert values between formatsa custom application or element defined query.wait till all serialized data is consumed downstreamtotal duration of the streamquery supported formats for convertcurrent jitter of streamlatency of streamcurrent position in streamcurrent rate of the streamthe scheduling propertiesseeking capabilitiessegment start/stop positionsQuery stream selection capability.unknown query typequery the URI of the source or sink. -
Method Summary
Modifier and TypeMethodDescriptiongetFlags()
Gets theGstQueryTypeFlags
associated with this QueryType.getName()
Get a printable name for the given query type.static Type
getType()
Get the GType of the QueryType classint
getValue()
Get the numeric value of this enumstatic QueryType
of
(int value) Create a new QueryType for the provided valuetoQuark()
Get the unique quark for the given query type.static QueryType
Returns the enum constant of this class with the specified name.static QueryType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
unknown query type -
POSITION
current position in stream -
DURATION
total duration of the stream -
LATENCY
latency of stream -
JITTER
current jitter of stream -
RATE
current rate of the stream -
SEEKING
seeking capabilities -
SEGMENT
segment start/stop positions -
CONVERT
convert values between formats -
FORMATS
query supported formats for convert -
BUFFERING
query available media for efficient seeking. -
CUSTOM
a custom application or element defined query. -
URI
query the URI of the source or sink. -
ALLOCATION
the buffer allocation properties -
SCHEDULING
the scheduling properties -
ACCEPT_CAPS
the accept caps query -
CAPS
the caps query -
DRAIN
wait till all serialized data is consumed downstream -
CONTEXT
query the pipeline-local context from downstream or upstream (since 1.2) -
BITRATE
the bitrate query (since 1.16) -
SELECTABLE
Query stream selection capability.
-
-
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 QueryType for the provided value- Parameters:
value
- the enum value- Returns:
- the enum 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
-
getFlags
Gets theGstQueryTypeFlags
associated with this QueryType.- Returns:
- a
GstQueryTypeFlags
.
-
getName
Get a printable name for the given query type. Do not modify or free.- Returns:
- a reference to the static name of the query.
-
toQuark
Get the unique quark for the given query type.- Returns:
- the quark associated with the query type
-