Class UsbManager
Definition
- Assembly:
- Tizen.System.Usb.dll
The USB Manager class.
public class UsbManager : IDisposable
- Inheritance
-
objectUsbManager
- Implements
-
System.IDisposable
Constructors
View SourceUsbManager()
The USB Manager constructor.
Declaration
public UsbManager()
Properties
View SourceAvailableDevices
This function returns a list of USB devices attached to the system.
Declaration
public IEnumerable<UsbDevice> AvailableDevices { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<T><UsbDevice> |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | Throws an exception if the USB host feature is not enabled. |
| System.OutOfMemoryException | Throws an exception in case of insufficient memory. |
| System.UnauthorizedAccessException | Throws an exception if the user has insufficient permission on the device. |
Methods
View SourceDispose()
Declaration
public void Dispose()
Dispose(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
~UsbManager()
Declaration
protected ~UsbManager()
Events
View SourceDeviceHotPlugged
An event handler for events when the USB device is attached or detached.
Declaration
public event EventHandler<HotPluggedEventArgs> DeviceHotPlugged
Event Type
| Type | Description |
|---|---|
| System.EventHandler<TEventArgs><HotPluggedEventArgs> |
Implements
System.IDisposable