Class UsbManager
Definition
- Namespace:
- Tizen.System.Usb
- Assembly:
- Tizen.System.Usb.dll
- API Level:
- 4
The USB Manager class.
public class UsbManager : IDisposable
- Inheritance
-
UsbManager
- Implements
Constructors
View SourceUsbManager()
The USB Manager constructor.
Declaration
public UsbManager()
Exceptions
Type | Condition |
---|---|
NotSupportedException | The required feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/usb.host
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 |
---|---|
IEnumerable<UsbDevice> |
Exceptions
Type | Condition |
---|---|
NotSupportedException | The required feature is not supported. |
OutOfMemoryException | Throws exception in case of insufficient memory. |
UnauthorizedAccessException | Throws exception if user has insufficient permission on device. |
API Level: 4
Feature: http://tizen.org/feature/usb.host
Methods
View SourceDispose()
Declaration
public void Dispose()
API Level: 4
View SourceFinalize()
Finalizes an instance of the USB Manager Class.
Declaration
protected void Finalize()
API Level: 4
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 |
---|---|
EventHandler<HotPluggedEventArgs> |
Exceptions
Type | Condition |
---|---|
NotSupportedException | The required feature is not supported. |