Class UsbConfiguration
Definition
- Assembly:
- Tizen.System.Usb.dll
A class to manage the USB configuration.
C#Copypublic class UsbConfiguration : IDisposable
- Inheritance
-
objectUsbConfiguration
- Implements
-
System.IDisposable
Properties
Declaration
C#Copypublic string ConfigurationString { get; }
Property Value
| Type | Description |
|---|---|
| string |
View Source
Interfaces
A dictionary for mapping the interface IDs to interface instances for a given configuration.
Declaration
C#Copypublic IReadOnlyDictionary<int, UsbInterface> Interfaces { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IReadOnlyDictionary<TKey, TValue><int, UsbInterface> |
Declaration
C#Copypublic bool IsSelfPowered { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Declaration
C#Copypublic int MaximumPowerRequired { get; }
Property Value
| Type | Description |
|---|---|
| int |
View Source
SupportRemoteWakeup
Checks if the device in a given configuration supports remote wakeup.
Declaration
C#Copypublic bool SupportRemoteWakeup { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
View Source
Dispose()
Releases all the resources used by the ConnectionProfile. It should be called after it has finished using the object.
Declaration
C#Copypublic void Dispose()
View Source
Dispose(bool)
Releases all the resources used by the ConnectionProfile. It should be called after it has finished using the object.
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
Declaration
C#Copyprotected ~UsbConfiguration()
Declaration
C#Copypublic void SetAsActive()
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | Throws an exception if the device is disconnected, or not opened for an operation, or busy as its interfaces are currently claimed. |
Implements
System.IDisposable