UsbDiscovererFindPrinters Method (Context, DiscoveryHandler)
|
Enumerate all currently connected Zebra USB printers.
Namespace:
Zebra.Sdk.Printer.Discovery
Assembly:
ZebraPrinterSdk (in ZebraPrinterSdk.dll) Version: 2.15.2521
Syntax public static void FindPrinters(
Context context,
DiscoveryHandler discoveryHandler
)
Public Shared Sub FindPrinters (
context As Context,
discoveryHandler As DiscoveryHandler
)
public:
static void FindPrinters(
Context^ context,
DiscoveryHandler^ discoveryHandler
)
Parameters
- context
- Type: Context
Android™ application context. - discoveryHandler
- Type: Zebra.Sdk.Printer.DiscoveryDiscoveryHandler
A DiscoveryHandler instance that is used to handle discovery events (e.g. found a printer, errors, discovery finished).
See Also