Class ElementFactory.Builder<B extends ElementFactory.Builder<B>>
java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.gobject.InitiallyUnowned.Builder<B>
org.freedesktop.gstreamer.gst.GstObject.Builder<B>
org.freedesktop.gstreamer.gst.PluginFeature.Builder<B>
org.freedesktop.gstreamer.gst.ElementFactory.Builder<B>
- Type Parameters:
B- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Enclosing class:
ElementFactory
public static class ElementFactory.Builder<B extends ElementFactory.Builder<B>>
extends PluginFeature.Builder<B>
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class GstObject.Builder
onDeepNotify, setName, setParentMethods inherited from class GObject.Builder
onNotifyMethods inherited from class Builder
addBuilderProperty, connect, connect, connectSignals, getArena, getNames, getValues
-
Constructor Details
-
Builder
protected Builder()Default constructor for aBuilderobject.
-
-
Method Details
-
build
Finish building theElementFactoryobject. This will callGObject.withProperties(Type, String[], Value[])to create a new GObject instance, which is then cast toElementFactory.- Overrides:
buildin classPluginFeature.Builder<B extends ElementFactory.Builder<B>>- Returns:
- a new instance of
ElementFactorywith the properties that were set in the Builder object.
-