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
-
System.ObjectUsbConfiguration
- Implements
-
System.IDisposable
Properties
Declaration
C#Copypublic string ConfigurationString { get; }
Property Value
Type | Description |
---|---|
System.String |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
InvalidOperationException | Throws exception if device is disconnected or not opened for operation or busy as its interfaces are currently claimed. |
API Level: 4
Feature: http://tizen.org/feature/usb.host
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<System.Int32, UsbInterface> |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/usb.host
Declaration
C#Copypublic bool IsSelfPowered { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/usb.host
Declaration
C#Copypublic int MaximumPowerRequired { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/usb.host
SupportRemoteWakeup
Checks if the device in a given configuration supports remote wakeup.
Declaration
C#Copypublic bool SupportRemoteWakeup { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
API Level: 4
Feature: http://tizen.org/feature/usb.host
Methods
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
Declaration
C#Copyprotected void Finalize()
API Level: 4
Declaration
C#Copypublic void SetAsActive()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
InvalidOperationException | Throws an exception if the device is disconnected, or not opened for an operation, or busy as its interfaces are currently claimed. |