Interface UsbSerialDriver

All Known Implementing Classes:
CdcAcmSerialDriver

public interface UsbSerialDriver
  • Method Summary

    Modifier and Type
    Method
    Description
    android.hardware.usb.UsbDevice
    Returns the raw UsbDevice backing this port.
    Returns all available ports for this device.
  • Method Details

    • getDevice

      android.hardware.usb.UsbDevice getDevice()
      Returns the raw UsbDevice backing this port.
      Returns:
      the device
    • getPorts

      List<UsbSerialPort> getPorts()
      Returns all available ports for this device. This list must have at least one entry.
      Returns:
      the ports