Added in Version 1.0.0
InputDeviceDelegate
The protocol that defines the status event of an input device
Method |
|
---|---|
Notify that the input device is connected |
|
Notify that the input device is disconnected |
|
Notify that the data is received |
|
inputDevice(printer: StarPrinter, communicationErrorDidOccur error: Error) |
Notify that a communication error occurred |
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.