discoverPrintersStream method

Stream<BrotherPrinter> discoverPrintersStream({
  1. required Set<BrotherConnectionType> connectionTypes,
  2. Duration timeout = const Duration(seconds: 10),
})

Starts discovery and yields each printer as soon as it is found.

Already-paired Bluetooth printers are emitted first (no waiting for the scans); Wi-Fi, BLE and USB results arrive as the searches complete. The stream completes when all the requested searches finish.

Implementation

Stream<BrotherPrinter> discoverPrintersStream({
  required Set<BrotherConnectionType> connectionTypes,
  Duration timeout = const Duration(seconds: 10),
}) => throw UnimplementedError('discoverPrintersStream() not implemented.');