Class UsbDevice

    Definition

    Namespace:
    Tizen.System.Usb
    Assembly:
    Tizen.System.Usb.dll

    A class to manage the USB host devices. This class contains the operations for enumerating, opening, and closing devices.

    public class UsbDevice : IDisposable
    Inheritance
    object
    UsbDevice

    Properties

    View Source

    ActiveConfiguration

    Active configuration for the device.

    Declaration
    public UsbConfiguration ActiveConfiguration { get; }
    Property Value
    Type Description
    UsbConfiguration
    View Source

    Address

    Address of the device on the bus.

    Declaration
    public int Address { get; }
    Property Value
    Type Description
    int
    View Source

    BusId

    Number of the bus, this device is connected to.

    Declaration
    public int BusId { get; }
    Property Value
    Type Description
    int
    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
    Type Description
    IReadOnlyDictionary<, ><int, UsbConfiguration>
    View Source

    ControlEndpoint

    Controls an endpoint (endpoint 0).

    Declaration
    public UsbControlEndpoint ControlEndpoint { get; }
    Property Value
    Type Description
    UsbControlEndpoint
    View Source

    DeviceInformation

    Device information such as version, class, subclass, etc.

    Declaration
    public UsbDeviceInformation DeviceInformation { get; }
    Property Value
    Type Description
    UsbDeviceInformation
    View Source

    IsOpened

    Checks if the device is opened.

    Declaration
    public bool IsOpened { get; }
    Property Value
    Type Description
    bool
    View Source

    Ports

    List of the available port numbers from the device.

    Declaration
    public IEnumerable<int> Ports { get; }
    Property Value
    Type Description
    IEnumerable<><int>
    View Source

    Strings

    String associated with the device.

    Declaration
    public UsbDeviceStrings Strings { get; }
    Property Value
    Type Description
    UsbDeviceStrings

    Methods

    View Source

    Close()

    Closes the device for operations.

    Declaration
    public void Close()
    View Source

    Dispose()

    Releases all the resources used by the ConnectionProfile. It should be called after it has finished using the object.

    Declaration
    public void Dispose()
    View Source

    ~UsbDevice()

    Finalizes an instance of the UsbDevice class.

    Declaration
    protected ~UsbDevice()
    View Source

    Open()

    Opens the device, which allows performing operations on it.

    Declaration
    public void Open()

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX