Added in Version 1.0.0

StarDeviceDiscoveryManagerDelegate

The protocol that defines the event for discovering printers

Method

manager(_ manager: StarDeviceDiscoveryManager, didFind printer: StarPrinter)

Notify that a printer is discovered

managerDidFinishDiscovery(_ manager: StarDeviceDiscoveryManager)

Notify that discovery is finished

Note

This Delegate is Class-Only Protocol. It cannot apply to Swift struct (e.g. SwiftUI) and Enum. If necessary, create another class and apply it to the class.