TcpPrinterConnector class

Implemented types

Constructors

TcpPrinterConnector()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect(TcpPrinterInput model) Future<bool>
override
disconnect({int? delayMs}) Future<bool>
delayMs: milliseconds to wait after destroying the socket
override
discovery({TcpPrinterInput? model}) Stream<PrinterDevice>
Starts a scan for network printers.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(List<int> bytes) Future<bool>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance TcpPrinterConnector
no setter

Static Methods

discoverPrinters({String? ipAddress, int? port, Duration? timeOut}) Future<List<PrinterDiscovered<TcpPrinterInfo>>>