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
All known members inherited from interface GLib.Initable