BluetoothDiscovererFindPrinters(DiscoveryHandler) Method
|
Find Bluetooth® devices that are discoverable.
Namespace: Zebra.Sdk.Printer.DiscoveryAssemblies: ZebraPrinterSdk (in ZebraPrinterSdk.dll) Version: 3.0.3271
SdkApi.Desktop (in SdkApi.Desktop.dll) Version: 3.0.3271
Syntax public static void FindPrinters(
DiscoveryHandler discoveryHandler
)
Public Shared Sub FindPrinters (
discoveryHandler As DiscoveryHandler
)
public:
static void FindPrinters(
DiscoveryHandler^ discoveryHandler
)
Parameters
- discoveryHandler DiscoveryHandler
- 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