Click or drag to resize

BluetoothDiscovererFindPrinters(DiscoveryHandler, DeviceFilter, Int32) Method

Find Bluetooth® devices that are discoverable.

Namespace: Zebra.Sdk.Printer.Discovery
Assembly: SdkApi.Desktop (in SdkApi.Desktop.dll) Version: 3.0.3271
Syntax
public static void FindPrinters(
	DiscoveryHandler discoveryHandler,
	DeviceFilter deviceFilter,
	int waitForResponsesTimeout
)

Parameters

discoveryHandler  DiscoveryHandler
A DiscoveryHandler instance that is used to handle discovery events (e.g. found a printer, errors, discovery finished).
deviceFilter  DeviceFilter
A custom DeviceFilter instance used to determine whether or not a discovered device should be ignored.
waitForResponsesTimeout  Int32
Time to wait, in milliseconds, before determining that there are no more discovery responses.
Exceptions
ExceptionCondition
ConnectionExceptionFor communication or discovery errors.
Remarks
This method will return all devices found, not just Zebra printers.
See Also