Class UsbManager

    Definition

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

    The USB Manager class.

    public class UsbManager : IDisposable
    Inheritance
    object
    UsbManager
    Implements
    System.IDisposable

    Constructors

    View Source

    UsbManager()

    The USB Manager constructor.

    Declaration
    public UsbManager()

    Properties

    View Source

    AvailableDevices

    This function returns a list of USB devices attached to the system.

    Declaration
    public IEnumerable<UsbDevice> AvailableDevices { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<T><UsbDevice>
    Exceptions
    Type Condition
    System.NotSupportedException

    Throws an exception if the USB host feature is not enabled.

    System.OutOfMemoryException

    Throws an exception in case of insufficient memory.

    System.UnauthorizedAccessException

    Throws an exception if the user has insufficient permission on the device.

    Methods

    View Source

    Dispose()

    Declaration
    public void Dispose()
    View Source

    Dispose(bool)

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    View Source

    ~UsbManager()

    Declaration
    protected ~UsbManager()

    Events

    View Source

    DeviceHotPlugged

    An event handler for events when the USB device is attached or detached.

    Declaration
    public event EventHandler<HotPluggedEventArgs> DeviceHotPlugged
    Event Type
    Type Description
    System.EventHandler<TEventArgs><HotPluggedEventArgs>

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX