Package ch.bailu.gtk.gst
Klasse DeviceProviderFactory
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.type.PropertyHolder
ch.bailu.gtk.gst.PluginFeature
ch.bailu.gtk.gst.DeviceProviderFactory
- Alle implementierten Schnittstellen:
PointerInterface
#GstDeviceProviderFactory is used to create instances of device providers. A
GstDeviceProviderfactory can be added to a #GstPlugin as it is also a
#GstPluginFeature.
Use the gst_device_provider_factory_find() and
gst_device_provider_factory_get() functions to create device
provider instances or use gst_device_provider_factory_get_by_name() as a
convenient shortcut.
GstDeviceProviderfactory can be added to a #GstPlugin as it is also a
#GstPluginFeature.
Use the gst_device_provider_factory_find() and
gst_device_provider_factory_get() functions to create device
provider instances or use gst_device_provider_factory_get_by_name() as a
convenient shortcut.
https://gstreamer.freedesktop.org/documentation/gstreamer/gi-index.html
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Feldübersicht
Von Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic DeviceProviderFactory
Search for an device provider factory of the given name.get()
Returns the device provider of the type defined by the given device
providerfactory.static DeviceProvider
Returns the device provider of the type defined by the given device
provider factory.static ClassHandler
long
Get the #GType for device providers managed by this factory.static int
getMetadata
(Str key) Get the metadata on @factory with @key.getMetadata
(String key) Get the metadata on @factory with @key.static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
boolean
hasClasses
(Str classes) Check if @factory matches all of the given @classesboolean
hasClasses
(String classes) Check if @factory matches all of the given @classesstatic List
listGetDeviceProviders
(int minrank) Get a list of factories with a rank greater or equal to @minrank.Von Klasse geerbte Methoden ch.bailu.gtk.gst.PluginFeature
checkVersion, getPlugin, getPluginName, getRank, listCopy, listDebug, listFree, load, rankCompareFunc, setRank
Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrProperty
Von Klasse geerbte Methoden ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
DeviceProviderFactory
-
-
Methodendetails
-
getClassHandler
-
get
Returns the device provider of the type defined by the given device
providerfactory.- Gibt zurück:
- the #GstDeviceProvider or %NULL if the device provider couldn't be created
-
getDeviceProviderType
public long getDeviceProviderType()Get the #GType for device providers managed by this factory. The type can
only be retrieved if the device provider factory is loaded, which can be
assured with gst_plugin_feature_load().- Gibt zurück:
- the #GType for device providers managed by this factory.
-
getMetadata
Get the metadata on @factory with @key.- Parameter:
key
- a key- Gibt zurück:
- the metadata with @key on @factory or %NULL when there was no metadata with the given @key.
-
getMetadata
Get the metadata on @factory with @key.- Parameter:
key
- a key- Gibt zurück:
- the metadata with @key on @factory or %NULL when there was no metadata with the given @key.
-
hasClasses
Check if @factory matches all of the given @classes- Parameter:
classes
- a "/" separate list of classes to match, only match if all classes are matched- Gibt zurück:
- %TRUE if @factory matches or if @classes is %NULL.
-
hasClasses
Check if @factory matches all of the given @classes- Parameter:
classes
- a "/" separate list of classes to match, only match if all classes are matched- Gibt zurück:
- %TRUE if @factory matches or if @classes is %NULL.
-
find
Search for an device provider factory of the given name. Refs the returned
device provider factory; caller is responsible for unreffing.- Parameter:
name
- name of factory to find- Gibt zurück:
- #GstDeviceProviderFactory if found, %NULL otherwise
-
getByName
Returns the device provider of the type defined by the given device
provider factory.- Parameter:
factoryname
- a named factory to instantiate- Gibt zurück:
- a #GstDeviceProvider or %NULL if unable to create device provider
-
listGetDeviceProviders
Get a list of factories with a rank greater or equal to @minrank.
The list of factories is returned by decreasing rank.- Parameter:
minrank
- Minimum rank- Gibt zurück:
- a #GList of #GstDeviceProviderFactory device providers. Use gst_plugin_feature_list_free() after usage.
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-