BluetoothDiscovererFindPrinters Method (DiscoveryHandler)
|
Find Bluetooth® devices that are discoverable.
Namespace:
Zebra.Sdk.Printer.Discovery
Assemblies:
SdkApi.Desktop (in SdkApi.Desktop.dll) Version: 2.15.2634
ZebraPrinterSdk (in ZebraPrinterSdk.dll) Version: 2.15.2521
Syntax public static void FindPrinters(
DiscoveryHandler discoveryHandler
)
Public Shared Sub FindPrinters (
discoveryHandler As DiscoveryHandler
)
public:
static void FindPrinters(
DiscoveryHandler^ discoveryHandler
)
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).
Remarks This method will return all devices found, not just Zebra printers.
This method should not be called from the application main thread.
Android 6 and higher (API 23+) requires user permission ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION in your application manifest.
See Also