Class UsbManager
Definition
- Namespace:
- Tizen.System.Usb
- Assembly:
- Tizen.System.Usb.dll
- API Level:
- 4
The USB Manager class.
C#Copypublic class UsbManager : IDisposable
- Inheritance
-
UsbManager
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic UsbManager()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/usb.host
Properties
Declaration
C#Copypublic IEnumerable<UsbDevice> AvailableDevices { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<UsbDevice> |
Exceptions
Type | Condition |
---|---|
System.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
Declaration
C#Copypublic void Dispose()
API Level: 4
Declaration
C#Copyprotected void Finalize()
API Level: 4
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<HotPluggedEventArgs> |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/usb.host
Implements
System.IDisposable