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()
    Exceptions
    Type Condition
    System.NotSupportedException

    The required feature is not supported.

    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

    The required feature is not supported.

    System.OutOfMemoryException

    Throws exception in case of insufficient memory.

    System.UnauthorizedAccessException

    Throws exception if user has insufficient permission on device.

    Methods

    View Source

    Dispose()

    Declaration
    public void Dispose()
    View Source

    ~UsbManager()

    Finalizes an instance of the USB Manager Class.

    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>
    Exceptions
    Type Condition
    System.NotSupportedException

    The required feature is not supported.

    Implements

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