Class UsbManager
Definition
- Assembly:
- Tizen.System.Usb.dll
The USB Manager class.
C#Copypublic class UsbManager : IDisposable
- Inheritance
-
objectUsbManager
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic UsbManager()
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The required feature is not supported. |
Properties
Declaration
C#Copypublic IEnumerable<UsbDevice> AvailableDevices { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<T><UsbDevice> |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The required feature is not supported. |
| System.OutOfMemoryException | Throws exception in case of insufficient memory. |
| System.UnauthorizedAccessException | Throws exception if user has insufficient permission on device. |
Methods
Declaration
C#Copypublic void Dispose()
Declaration
C#Copyprotected ~UsbManager()
Events
View Source
DeviceHotPlugged
An event handler for events when the USB device is attached or detached.
Declaration
C#Copypublic event EventHandler<HotPluggedEventArgs> DeviceHotPlugged
Event Type
| Type | Description |
|---|---|
| System.EventHandler<TEventArgs><HotPluggedEventArgs> |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The required feature is not supported. |
Implements
System.IDisposable