Constructor and Description |
---|
DeviceList()
Constructs a new device list.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Device |
get(int index)
Returns the device with the specified index.
|
long |
getPointer()
Returns the native pointer.
|
int |
getSize()
Returns the number of devices in the list.
|
int |
hashCode() |
Iterator<Device> |
iterator() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public DeviceList()
LibUsb.getDeviceList(Context, DeviceList)
before using it.public long getPointer()
public int getSize()
public Device get(int index)
index
- The device index.Copyright © 2011–2018 usb4java Team. All rights reserved.