Find Bluetooth(R) devices that are discoverable using the specified Bluetooth(R) stack.
Namespace:
ZSDK_API.DiscoveryAssembly: ZSDK_API (in ZSDK_API.dll) Version: 1.1.123.0
Syntax
| C# |
|---|
public static DiscoveredPrinter[] FindPrinters( BluetoothStackDescriptor stackDescriptor ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function FindPrinters ( _ stackDescriptor As BluetoothStackDescriptor _ ) As DiscoveredPrinter() |
Parameters
- stackDescriptor
- Type: ZSDK_API.Comm..::.BluetoothStackDescriptor
Use the given Bluetooth(R) stack descriptor to find discoverable devices.
Return Value
A list of discovered devices.
Remarks
Note: This method will return all devices found, not just Zebra printers.
Exceptions
| Exception | Condition |
|---|---|
| ZSDK_API.ApiException..::.DiscoveryException | If there are issues during discovery. |
| ZSDK_API.ApiException..::.ZebraGeneralException | If an I/O error occurs. |