Class UsbConfiguration
Definition
- Namespace:
- Tizen.System.Usb
- Assembly:
- Tizen.System.Usb.dll
- API Level:
- 4
A class to manage the USB configuration.
C#Copypublic class UsbConfiguration : IDisposable
- Inheritance
-
UsbConfiguration
- Implements
-
System.IDisposable
Properties
Declaration
C#Copypublic string ConfigurationString { get; }
Property Value
Type | Description |
---|---|
System.String |
API Level: 4
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 |
---|---|
IReadOnlyDictionary<System.Int32, UsbInterface> |
API Level: 4
Declaration
C#Copypublic bool IsSelfPowered { get; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 4
Declaration
C#Copypublic int MaximumPowerRequired { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
API Level: 4
View Source
SupportRemoteWakeup
Checks if the device in a given configuration supports remote wakeup.
Declaration
C#Copypublic bool SupportRemoteWakeup { get; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 4
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()
API Level: 4
View Source
Dispose(Boolean)
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 |
---|---|---|
Boolean | disposing |
API Level: 4
Declaration
C#Copyprotected void Finalize()
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. |
API Level: 4
Implements
System.IDisposable