Device
Object Hierarchy:
Gst.Device
Gst.Device
Gst.Device
Gst.Object
Gst.Object
Gst.Object->Gst.Device
GLib.InitiallyUnowned
GLib.InitiallyUnowned
GLib.InitiallyUnowned->Gst.Object
GLib.Object
GLib.Object
GLib.Object->GLib.InitiallyUnowned
Description:
[
CCode ( type_id =
"gst_device_get_type ()" ) ]
[
Version ( since =
"1.4" ) ]
public abstract class Device :
Object
Device are objects representing a device, they contain relevant metadata about the device, such as
its class and the Caps representing the media types it can produce or handle.
Device are created by DeviceProvider
objects which can be aggregated by DeviceMonitor objects.
Content:
Properties:
Creation methods:
Methods:
public virtual unowned Element ? create_element (string ? name)
Creates the element with all of the required parameters set to use
this device.
public Caps ? get_caps ()
Getter for the Caps that
this device supports.
public string get_device_class ()
Gets the "class" of a device.
public string get_display_name ()
Gets the user-friendly name of the device.
public Structure ? get_properties ()
Gets the extra properties of a device.
public bool has_classes (string classes)
Check if this matches all of the
given classes
public bool has_classesv (string [] classes)
Check if factory
matches all of the given classes
public virtual bool reconfigure_element (Element element)
Tries to reconfigure an existing element to use the device.
Signals:
Inherited Members:
All known members inherited from class Gst.Object
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref