BluetoothDiscovererFindPrinters Method (DiscoveryHandler, DeviceFilter, Int32)
|
Find Bluetooth® devices that are discoverable.
Namespace:
Zebra.Sdk.Printer.Discovery
Assembly:
SdkApi_Desktop (in SdkApi_Desktop.dll) Version: 2.14.1989
Syntax public static void FindPrinters(
DiscoveryHandler discoveryHandler,
DeviceFilter deviceFilter,
int waitForResponsesTimeout
)
Public Shared Sub FindPrinters (
discoveryHandler As DiscoveryHandler,
deviceFilter As DeviceFilter,
waitForResponsesTimeout As Integer
)
public:
static void FindPrinters(
DiscoveryHandler^ discoveryHandler,
DeviceFilter^ deviceFilter,
int waitForResponsesTimeout
)
Parameters
- discoveryHandler
- Type: Zebra.Sdk.Printer.DiscoveryDiscoveryHandler
A DiscoveryHandler instance that is used to handle discovery events (e.g. found a printer, errors, discovery finished). - deviceFilter
- Type: Zebra.Sdk.Printer.DiscoveryDeviceFilter
A custom DeviceFilter instance used to determine whether or not a discovered device should be ignored. - waitForResponsesTimeout
- Type: SystemInt32
Time to wait, in milliseconds, before determining that there are no more discovery responses.
Exceptions Remarks This method will return all devices found, not just Zebra printers.
See Also