PrinterDiscoveryFactory

The Brady SDK PrinterDiscoveryFactory is the only way for a user to get a PrinterDiscovery object

getPrinterDiscovery(Context context, List[PrinterDiscoveryListener] listeners)

getPrintDiscovery returns a PrinterDiscovery object

  • context: a Context object that represents the UI Activity. (Example: MainActivity.this)
  • listeners: a List of PrinterDiscoveryListener objects that will listen for newly discovered printers and return them to the UI.