BluetoothDiscovererFindPrinters(DiscoveryHandler, DeviceFilter, Int32) Method
|
Find Bluetooth® devices that are discoverable.
Namespace: Zebra.Sdk.Printer.DiscoveryAssembly: SdkApi.Desktop (in SdkApi.Desktop.dll) Version: 3.0.3271
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 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 Remarks This method will return all devices found, not just Zebra printers.
See Also