Package com.zebra.commoniolib
Interface UsbSerialDriver
- All Known Implementing Classes:
CdcAcmSerialDriver
public interface UsbSerialDriver
-
Method Summary
Modifier and TypeMethodDescriptionandroid.hardware.usb.UsbDeviceReturns the rawUsbDevicebacking this port.getPorts()Returns all available ports for this device.
-
Method Details
-
getDevice
android.hardware.usb.UsbDevice getDevice()Returns the rawUsbDevicebacking 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
-