UsbDeviceManager
Object Hierarchy:
Description:
[ CCode ( type_id = "spice_usb_device_manager_get_type ()" ) ]
public class UsbDeviceManager : Object, Initable
The UsbDeviceManager struct is opaque and should not be accessed directly.
Content:
Properties:
- public bool auto_connect { get; set; }
Set this to TRUE to automatically redirect newly plugged in device.
- public string auto_connect_filter { owned get; set construct; }
Set a string specifying a filter to use to determine which USB devices
to autoconnect when plugged in, a filter consists of one or more rules.
- public int free_channels { get; }
Get the number of available channels for redirecting USB devices.
- public string redirect_on_connect { owned get; set; }
Set a string specifying a filter selecting USB devices to
automatically redirect after a Spice connection has been established.
- public Session session { owned get; construct; }
Session this
UsbDeviceManager is associated with
Static methods:
- public static unowned UsbDeviceManager @get (Session session) throws Error
Gets the UsbDeviceManager associated with
the passed in Session.
Creation methods:
Methods:
Signals:
- public virtual signal void auto_connect_failed (UsbDevice device, Error error)
The auto_connect_failed signal is emitted
whenever the auto-connect property is true, and a newly plugged in device could not be auto-connected.
- public virtual signal void device_added (UsbDevice device)
The device_added signal is emitted
whenever a new USB device has been plugged in.
- public virtual signal void device_error (UsbDevice device, Error error)
The device_error signal is emitted
whenever an error happens which causes a device to no longer be available to the guest.
- public virtual signal void device_removed (UsbDevice device)
The device_removed signal is emitted
whenever an USB device has been removed.
Inherited Members:
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
All known members inherited from interface GLib.Initable