Click or drag to resize

BluetoothDiscovererFindPrinters Method (Context, DiscoveryHandler)

Find Bluetooth® devices that are discoverable.

Namespace:  Zebra.Sdk.Printer.Discovery
Assembly:  ZebraPrinterSdk (in ZebraPrinterSdk.dll) Version: 2.15.2521
Syntax
public static void FindPrinters(
	Context context,
	DiscoveryHandler discoveryHandler
)

Parameters

context
Type: Context
Android™ application context
discoveryHandler
Type: Zebra.Sdk.Printer.DiscoveryDiscoveryHandler
a DiscoveryHandler instance that is used to handle discovery events (e.g. found a printer, errors, discovery finished)
Exceptions
ExceptionCondition
ConnectionExceptionfor communication or discovery errors
Remarks
This method will return all devices found, not just Zebra printers.
Remarks
This method should not be called from the application main thread.
See Also