Definition
- Namespace:
- Tizen.System.Usb
- Assembly:
- Tizen.System.Usb.dll
- API Level:
- 4
A class to manage the USB host devices. This class contains the operations for enumerating, opening, and closing devices.
public class UsbDevice : IDisposable
- Inheritance
-
Properties
View Source
ActiveConfiguration
Active configuration for the device.
Declaration
public UsbConfiguration ActiveConfiguration { get; }
Property Value
API Level: 4
Feature: http://tizen.org/feature/usb.host
Declaration
public int Address { get; }
Property Value
API Level: 4
Feature: http://tizen.org/feature/usb.host
View Source
BusId
Number of the bus, this device is connected to.
Declaration
public int BusId { get; }
Property Value
API Level: 4
Feature: http://tizen.org/feature/usb.host
View Source
Configurations
A dictionary for mapping the configuration IDs to configuration instances for this device.
Declaration
public IReadOnlyDictionary<int, UsbConfiguration> Configurations { get; }
Property Value
API Level: 4
Feature: http://tizen.org/feature/usb.host
View Source
ControlEndpoint
Controls an endpoint (endpoint 0).
Declaration
public UsbControlEndpoint ControlEndpoint { get; }
Property Value
API Level: 4
Feature: http://tizen.org/feature/usb.host
View Source
Device information such as version, class, subclass, etc.
Declaration
public UsbDeviceInformation DeviceInformation { get; }
Property Value
API Level: 4
Feature: http://tizen.org/feature/usb.host
Declaration
public bool IsOpened { get; }
Property Value
API Level: 4
Feature: http://tizen.org/feature/usb.host
View Source
Ports
List of the available port numbers from the device.
Declaration
public IEnumerable<int> Ports { get; }
Property Value
Type |
Description |
IEnumerable<Int32> |
|
API Level: 4
Feature: http://tizen.org/feature/usb.host
Declaration
public UsbDeviceStrings Strings { get; }
Property Value
API Level: 4
Feature: http://tizen.org/feature/usb.host
Methods
Declaration
API Level: 4
Feature: http://tizen.org/feature/usb.host
View Source
Dispose()
Releases all the resources used by the ConnectionProfile.
It should be called after it has finished using the object.
Declaration
API Level: 4
View Source
Finalize()
Finalizes an instance of the UsbDevice class.
Declaration
protected void Finalize()
View Source
Open()
Opens the device, which allows performing operations on it.
Declaration
API Level: 4
Feature: http://tizen.org/feature/usb.host
Extension Methods