Enum Class QueryType

java.lang.Object
java.lang.Enum<QueryType>
org.freedesktop.gstreamer.gst.QueryType
All Implemented Interfaces:
Serializable, Comparable<QueryType>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum QueryType extends Enum<QueryType> implements Enumeration
Standard predefined Query types
  • Enum Constant Details

    • UNKNOWN

      public static final QueryType UNKNOWN
      unknown query type
    • POSITION

      public static final QueryType POSITION
      current position in stream
    • DURATION

      public static final QueryType DURATION
      total duration of the stream
    • LATENCY

      public static final QueryType LATENCY
      latency of stream
    • JITTER

      public static final QueryType JITTER
      current jitter of stream
    • RATE

      public static final QueryType RATE
      current rate of the stream
    • SEEKING

      public static final QueryType SEEKING
      seeking capabilities
    • SEGMENT

      public static final QueryType SEGMENT
      segment start/stop positions
    • CONVERT

      public static final QueryType CONVERT
      convert values between formats
    • FORMATS

      public static final QueryType FORMATS
      query supported formats for convert
    • BUFFERING

      public static final QueryType BUFFERING
      query available media for efficient seeking.
    • CUSTOM

      public static final QueryType CUSTOM
      a custom application or element defined query.
    • URI

      public static final QueryType URI
      query the URI of the source or sink.
    • ALLOCATION

      public static final QueryType ALLOCATION
      the buffer allocation properties
    • SCHEDULING

      public static final QueryType SCHEDULING
      the scheduling properties
    • ACCEPT_CAPS

      public static final QueryType ACCEPT_CAPS
      the accept caps query
    • CAPS

      public static final QueryType CAPS
      the caps query
    • DRAIN

      public static final QueryType DRAIN
      wait till all serialized data is consumed downstream
    • CONTEXT

      public static final QueryType CONTEXT
      query the pipeline-local context from downstream or upstream (since 1.2)
    • BITRATE

      public static final QueryType BITRATE
      the bitrate query (since 1.16)
    • SELECTABLE

      public static final QueryType SELECTABLE
      Query stream selection capability.
      Since:
      1.22
  • Method Details

    • values

      public static QueryType[] 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

      public static QueryType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • of

      public static QueryType of(int value)
      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 interface Enumeration
      Returns:
      the enum value
    • of

      public static QueryType of(MemorySegment address)
      Create a new QueryType for the value in the provided memory address.
      Parameters:
      address - the memory address holding a enum value
      Returns:
      the enum for the value in the provided memory address
    • getType

      public static @Nullable Type getType()
      Get the GType of the QueryType class.
      Returns:
      the GType
    • getFlags

      public Set<QueryTypeFlags> getFlags()
      Gets the GstQueryTypeFlags associated with type.
      Returns:
      a GstQueryTypeFlags.
    • getName

      public String 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

      public Quark toQuark()
      Get the unique quark for the given query type.
      Returns:
      the quark associated with the query type