UsbPrinterConnector class
- Implemented types
Constructors
- UsbPrinterConnector.Android({required String vendorId, required String productId})
- UsbPrinterConnector.Windows({required String name})
Properties
-
currentStatus
→ Stream<
USBStatus> -
Gets the current state of the Bluetooth module
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
getter/setter pair
- productId ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → USBStatus
-
no setter
- vendorId ↔ String
-
getter/setter pair
Methods
-
connect(
UsbPrinterInput model) → Future< bool> -
override
-
disconnect(
{int? delayMs}) → Future< bool> -
override
-
discovery(
) → Stream< PrinterDevice> -
getDefaultPrinter(
) → Future< String> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
List< int> bytes) → Future<bool> -
override
-
setName(
String name) → dynamic -
setProduct(
String productId) → dynamic -
setVendor(
String vendorId) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → UsbPrinterConnector
-
no setter