Package ch.bailu.gtk.gst
Klasse DeviceProviderClass
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gst.DeviceProviderClass
- Alle implementierten Schnittstellen:
PointerInterface
The structure of the base #GstDeviceProviderClass
https://gstreamer.freedesktop.org/documentation/gstreamer/gi-index.html
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interface
static interface
static interface
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final String
a pointer to the #GstDeviceProviderFactory that creates this
providerstatic final String
static final String
the parent #GstObjectClass structure
Private field: direct-typestatic final String
Returns a list of devices that are currently available.static final String
Starts monitoring for new devices.static final String
Stops monitoring for new devices. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addMetadata
(Str key, Str value) Set @key with @value as metadata in @klass.void
addMetadata
(String key, String value) Set @key with @value as metadata in @klass.void
addStaticMetadata
(Str key, Str value) Set @key with @value as metadata in @klass.void
addStaticMetadata
(String key, String value) Set @key with @value as metadata in @klass.static ClassHandler
a pointer to the #GstDeviceProviderFactory that creates this
providerch.bailu.gtk.gst.JnaDeviceProviderClass.OnProbe
Returns a list of devices that are currently available.ch.bailu.gtk.gst.JnaDeviceProviderClass.OnStart
Starts monitoring for new devices.ch.bailu.gtk.gst.JnaDeviceProviderClass.OnStop
Stops monitoring for new devices.static int
getMetadata
(Str key) Get metadata with @key in @klass.getMetadata
(String key) Get metadata with @key in @klass.static TypeSystem.TypeSize
static TypeSystem.TypeSize
void
Returns a list of devices that are currently available.void
Starts monitoring for new devices.void
Stops monitoring for new devices.void
setMetadata
(Str longname, Str classification, Str description, Str author) Sets the detailed information for a #GstDeviceProviderClass.void
setMetadata
(String longname, String classification, String description, String author) Sets the detailed information for a #GstDeviceProviderClass.void
setStaticMetadata
(Str longname, Str classification, Str description, Str author) Sets the detailed information for a #GstDeviceProviderClass.void
setStaticMetadata
(String longname, String classification, String description, String author) Sets the detailed information for a #GstDeviceProviderClass.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
-
Felddetails
-
PARENT_CLASS
the parent #GstObjectClass structure
Private field: direct-type- Siehe auch:
-
FACTORY
a pointer to the #GstDeviceProviderFactory that creates this
provider- Siehe auch:
-
PROBE
Returns a list of devices that are currently available.
This should never block. The devices should not have a parent and should
be floating.
SeeDeviceProviderClass.OnProbe.onProbe(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.DeviceProvider)
- Siehe auch:
-
START
Starts monitoring for new devices. Only subclasses that can know
that devices have been added or remove need to implement this method.
SeeDeviceProviderClass.OnStart.onStart(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.DeviceProvider)
- Siehe auch:
-
STOP
Stops monitoring for new devices. Only subclasses that implement
the start() method need to implement this method.
SeeDeviceProviderClass.OnStop.onStop(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.DeviceProvider)
- Siehe auch:
-
METADATA
- Siehe auch:
-
-
Konstruktordetails
-
DeviceProviderClass
-
-
Methodendetails
-
getClassHandler
-
getFieldFactory
a pointer to the #GstDeviceProviderFactory that creates this
provider -
setFieldProbe
Returns a list of devices that are currently available.
This should never block. The devices should not have a parent and should
be floating.
SeeDeviceProviderClass.OnProbe.onProbe(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.DeviceProvider)
-
getFieldProbe
public ch.bailu.gtk.gst.JnaDeviceProviderClass.OnProbe getFieldProbe()Returns a list of devices that are currently available.
This should never block. The devices should not have a parent and should
be floating.
SeeDeviceProviderClass.OnProbe.onProbe(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.DeviceProvider)
-
setFieldStart
Starts monitoring for new devices. Only subclasses that can know
that devices have been added or remove need to implement this method.
SeeDeviceProviderClass.OnStart.onStart(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.DeviceProvider)
-
getFieldStart
public ch.bailu.gtk.gst.JnaDeviceProviderClass.OnStart getFieldStart()Starts monitoring for new devices. Only subclasses that can know
that devices have been added or remove need to implement this method.
SeeDeviceProviderClass.OnStart.onStart(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.DeviceProvider)
-
setFieldStop
Stops monitoring for new devices. Only subclasses that implement
the start() method need to implement this method.
SeeDeviceProviderClass.OnStop.onStop(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.DeviceProvider)
-
getFieldStop
public ch.bailu.gtk.gst.JnaDeviceProviderClass.OnStop getFieldStop()Stops monitoring for new devices. Only subclasses that implement
the start() method need to implement this method.
SeeDeviceProviderClass.OnStop.onStop(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.DeviceProvider)
-
getFieldMetadata
-
addMetadata
Set @key with @value as metadata in @klass.- Parameter:
key
- the key to setvalue
- the value to set
-
addMetadata
Set @key with @value as metadata in @klass.- Parameter:
key
- the key to setvalue
- the value to set
-
addStaticMetadata
Set @key with @value as metadata in @klass.
Same as gst_device_provider_class_add_metadata(), but @value must be a static string
or an inlined string, as it will not be copied. (GStreamer plugins will
be made resident once loaded, so this function can be used even from
dynamically loaded plugins.)- Parameter:
key
- the key to setvalue
- the value to set
-
addStaticMetadata
Set @key with @value as metadata in @klass.
Same as gst_device_provider_class_add_metadata(), but @value must be a static string
or an inlined string, as it will not be copied. (GStreamer plugins will
be made resident once loaded, so this function can be used even from
dynamically loaded plugins.)- Parameter:
key
- the key to setvalue
- the value to set
-
getMetadata
Get metadata with @key in @klass.- Parameter:
key
- the key to get- Gibt zurück:
- the metadata for @key.
-
getMetadata
Get metadata with @key in @klass.- Parameter:
key
- the key to get- Gibt zurück:
- the metadata for @key.
-
setMetadata
public void setMetadata(@Nonnull Str longname, @Nonnull Str classification, @Nonnull Str description, @Nonnull Str author) Sets the detailed information for a #GstDeviceProviderClass.
> This function is for use in _class_init functions only.- Parameter:
longname
- The long English name of the device provider. E.g. "File Sink"classification
- String describing the type of device provider, as an unordered list separated with slashes ('/'). See draft-klass.txt of the design docs for more details and common types. E.g: "Sink/File"description
- Sentence describing the purpose of the device provider. E.g: "Write stream to a file"author
- Name and contact details of the author(s). Use \n to separate multiple author metadata. E.g: "Joe Bloggs <joe.blogs at foo.com>"
-
setMetadata
Sets the detailed information for a #GstDeviceProviderClass.
> This function is for use in _class_init functions only.- Parameter:
longname
- The long English name of the device provider. E.g. "File Sink"classification
- String describing the type of device provider, as an unordered list separated with slashes ('/'). See draft-klass.txt of the design docs for more details and common types. E.g: "Sink/File"description
- Sentence describing the purpose of the device provider. E.g: "Write stream to a file"author
- Name and contact details of the author(s). Use \n to separate multiple author metadata. E.g: "Joe Bloggs <joe.blogs at foo.com>"
-
setStaticMetadata
public void setStaticMetadata(@Nonnull Str longname, @Nonnull Str classification, @Nonnull Str description, @Nonnull Str author) Sets the detailed information for a #GstDeviceProviderClass.
> This function is for use in _class_init functions only.
Same as gst_device_provider_class_set_metadata(), but @longname, @classification,
@description, and @author must be static strings or inlined strings, as
they will not be copied. (GStreamer plugins will be made resident once
loaded, so this function can be used even from dynamically loaded plugins.)- Parameter:
longname
- The long English name of the element. E.g. "File Sink"classification
- String describing the type of element, as an unordered list separated with slashes ('/'). See draft-klass.txt of the design docs for more details and common types. E.g: "Sink/File"description
- Sentence describing the purpose of the element. E.g: "Write stream to a file"author
- Name and contact details of the author(s). Use \n to separate multiple author metadata. E.g: "Joe Bloggs <joe.blogs at foo.com>"
-
setStaticMetadata
public void setStaticMetadata(String longname, String classification, String description, String author) Sets the detailed information for a #GstDeviceProviderClass.
> This function is for use in _class_init functions only.
Same as gst_device_provider_class_set_metadata(), but @longname, @classification,
@description, and @author must be static strings or inlined strings, as
they will not be copied. (GStreamer plugins will be made resident once
loaded, so this function can be used even from dynamically loaded plugins.)- Parameter:
longname
- The long English name of the element. E.g. "File Sink"classification
- String describing the type of element, as an unordered list separated with slashes ('/'). See draft-klass.txt of the design docs for more details and common types. E.g: "Sink/File"description
- Sentence describing the purpose of the element. E.g: "Write stream to a file"author
- Name and contact details of the author(s). Use \n to separate multiple author metadata. E.g: "Joe Bloggs <joe.blogs at foo.com>"
-
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-