Class AudioAggregatorPad.Builder<B extends AudioAggregatorPad.Builder<B>>

Type Parameters:
B - the type of the Builder that is returned
All Implemented Interfaces:
BuilderInterface
Direct Known Subclasses:
AudioAggregatorConvertPad.Builder
Enclosing class:
AudioAggregatorPad

public static class AudioAggregatorPad.Builder<B extends AudioAggregatorPad.Builder<B>> extends AggregatorPad.Builder<B>
Inner class implementing a builder pattern to construct a GObject with properties.
Since:
1.14
  • Constructor Details

    • Builder

      protected Builder()
      Default constructor for a Builder object.
  • Method Details

    • build

      public AudioAggregatorPad build()
      Finish building the AudioAggregatorPad object. This will call GObject.withProperties(Type, String[], Value[]) to create a new GObject instance, which is then cast to AudioAggregatorPad.
      Overrides:
      build in class AggregatorPad.Builder<B extends AudioAggregatorPad.Builder<B>>
      Returns:
      a new instance of AudioAggregatorPad with the properties that were set in the Builder object.
    • setQosMessages

      public B setQosMessages(boolean qosMessages)
      Emit QoS messages when dropping buffers.
      Parameters:
      qosMessages - the value for the qos-messages property
      Returns:
      the Builder instance is returned, to allow method chaining
      Since:
      1.20