Class UsbInterface

    Definition

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

    A class to manage the USB interfaces.

    public class UsbInterface
    Inheritance
    object
    UsbInterface

    Properties

    View Source

    AlternateSetting

    Sets an alternative setting. Use the index of a new alternative setting for a given interface.

    Declaration
    public int AlternateSetting { set; }
    Property Value
    Type Description
    int
    View Source

    Endpoints

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

    Declaration
    public IReadOnlyDictionary<int, UsbEndpoint> Endpoints { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<, ><int, UsbEndpoint>
    View Source

    Id

    Gets the number of a given interface.

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

    InterfaceString

    Gets the string describing an interface.

    Declaration
    public string InterfaceString { get; }
    Property Value
    Type Description
    string

    Methods

    View Source

    Claim(bool)

    Claims the interface on a device. The interface must be claimed first to perform I/O operations.

    Declaration
    public void Claim(bool force)
    Parameters
    Type Name Description
    bool force

    Set to true to auto detach the kernel driver, otherwise false .

    View Source

    Release()

    Releases the previously claimed interface.

    Declaration
    public void Release()

    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