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