Class UsbConfiguration

Definition

Namespace:
Tizen.System.Usb
Assembly:
Tizen.System.Usb.dll
API Level:
4

A class to manage the USB configuration.

C#
Copy
public class UsbConfiguration : IDisposable
Inheritance
UsbConfiguration

Properties

View Source

ConfigurationString

The configuration string.

Declaration
C#
Copy
public string ConfigurationString { get; }
Property Value
Type Description
String
API Level: 4
Feature: http://tizen.org/feature/usb.host
View Source

Interfaces

A dictionary for mapping the interface IDs to interface instances for a given configuration.

Declaration
C#
Copy
public IReadOnlyDictionary<int, UsbInterface> Interfaces { get; }
Property Value
Type Description
IReadOnlyDictionary<Int32, UsbInterface>
API Level: 4
Feature: http://tizen.org/feature/usb.host
View Source

IsSelfPowered

Checks if the device is self-powered in a given configuration.

Declaration
C#
Copy
public bool IsSelfPowered { get; }
Property Value
Type Description
Boolean
API Level: 4
Feature: http://tizen.org/feature/usb.host
View Source

MaximumPowerRequired

Gets the maximum power required in a given configuration, in mA.

Declaration
C#
Copy
public int MaximumPowerRequired { get; }
Property Value
Type Description
Int32
API Level: 4
Feature: http://tizen.org/feature/usb.host
View Source

SupportRemoteWakeup

Checks if the device in a given configuration supports remote wakeup.

Declaration
C#
Copy
public bool SupportRemoteWakeup { get; }
Property Value
Type Description
Boolean
API Level: 4
Feature: http://tizen.org/feature/usb.host

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#
Copy
public void Dispose()
API Level: 4
View Source

Finalize()

Finalizes an instance of the UsbConfiguration class.

Declaration
C#
Copy
protected void Finalize()
API Level: 4
View Source

SetAsActive()

Sets this configuration as an active configuration for the device.

Declaration
C#
Copy
public void SetAsActive()
API Level: 4
Feature: http://tizen.org/feature/usb.host

Extension Methods