SignatureDeviceList
SignatureDeviceList represents a collection of SignatureDevice objects and supports iteration over them.
Summary
| public final class SignatureDeviceList extends NativeObject implements Iterable<SignatureDevice> | |
|---|---|
| Provides access to connected signature devices in a list form, with iteration support. | |
| Methods | |
| create | |
| item | |
| count | |
| iterator | |
Methods
create()
Initializes the device list in the native layer.
| protected native void create() |
|---|
| No return value. |
item(long index)
Retrieves a specific device from the list by its index.
| public native SignatureDevice item(long index) |
|---|
| Parameters |
index: long — The zero-based index of the device. |
| Return Value |
SignatureDevice — The device at the specified index. |
count()
Gets the number of connected devices in the list.
| public native long count() |
|---|
| Return Value |
long — The total number of connected devices. |
iterator()
Returns an iterator for traversing the list of devices.
| public Iterator<SignatureDevice> iterator() |
|---|
| Return Value |
Iterator<SignatureDevice> — An iterator over the connected devices. |