Package ch.bailu.gtk.gst
Klasse Device
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.Device
- Alle implementierten Schnittstellen:
PointerInterface
#GstDevice are objects representing a device, they contain
relevant metadata about the device, such as its class and the #GstCaps
representing the media types it can produce or handle.
#GstDevice are created by #GstDeviceProvider objects which can be
aggregated by #GstDeviceMonitor objects.
relevant metadata about the device, such as its class and the #GstCaps
representing the media types it can produce or handle.
#GstDevice are created by #GstDeviceProvider objects which can be
aggregated by #GstDeviceMonitor objects.
https://gstreamer.freedesktop.org/documentation/gstreamer/gi-index.html
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenVon Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Feldübersicht
FelderVon Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcreateElement
(Str name) Creates the element with all of the required parameters set to use
this device.createElement
(String name) Creates the element with all of the required parameters set to use
this device.getCaps()
Getter for the #GstCaps that this device supports.static ClassHandler
Gets the "class" of a device.Gets the user-friendly name of the device.static int
static long
static TypeSystem.TypeSize
Gets the extra properties of a device.static long
static TypeSystem.TypeSize
boolean
hasClasses
(Str classes) Check if @device matches all of the given classesboolean
hasClasses
(String classes) Check if @device matches all of the given classesonRemoved
(Device.OnRemoved signal) Connect to signal "removed".boolean
reconfigureElement
(Element element) Tries to reconfigure an existing element to use the device.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
-
Felddetails
-
SIGNAL_ON_REMOVED
- Siehe auch:
-
-
Konstruktordetails
-
Device
-
-
Methodendetails
-
getClassHandler
-
createElement
Creates the element with all of the required parameters set to use
this device.- Parameter:
name
- name of new element, or %NULL to automatically create a unique name.- Gibt zurück:
- a new #GstElement configured to use this device
-
createElement
Creates the element with all of the required parameters set to use
this device.- Parameter:
name
- name of new element, or %NULL to automatically create a unique name.- Gibt zurück:
- a new #GstElement configured to use this device
-
getCaps
Getter for the #GstCaps that this device supports.- Gibt zurück:
- The #GstCaps supported by this device. Unref with gst_caps_unref() when done.
-
getDeviceClass
Gets the "class" of a device. This is a "/" separated list of
classes that represent this device. They are a subset of the
classes of the #GstDeviceProvider that produced this device.- Gibt zurück:
- The device class. Free with g_free() after use.
-
getDisplayName
Gets the user-friendly name of the device.- Gibt zurück:
- The device name. Free with g_free() after use.
-
getProperties
Gets the extra properties of a device.- Gibt zurück:
- The extra properties or %NULL when there are none. Free with gst_structure_free() after use.
-
hasClasses
Check if @device matches all of the given classes- Parameter:
classes
- a "/"-separated list of device classes to match, only match if all classes are matched- Gibt zurück:
- %TRUE if @device matches.
-
hasClasses
Check if @device matches all of the given classes- Parameter:
classes
- a "/"-separated list of device classes to match, only match if all classes are matched- Gibt zurück:
- %TRUE if @device matches.
-
reconfigureElement
Tries to reconfigure an existing element to use the device. If this
function fails, then one must destroy the element and create a new one
using gst_device_create_element().
Note: This should only be implemented for elements can change their
device in the PLAYING state.- Parameter:
element
- a #GstElement- Gibt zurück:
- %TRUE if the element could be reconfigured to use this device, %FALSE otherwise.
-
onRemoved
Connect to signal "removed".
SeeDevice.OnRemoved.onRemoved()
for signal description.
FieldSIGNAL_ON_REMOVED
contains original signal name and can be used as resource reference.- Parameter:
signal
- callback function (lambda).- Gibt zurück:
SignalHandler
. Can be used to disconnect signal and to release callback function.
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-