ChromePrinterProvider class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isAvailable
→ bool
-
no setter
-
onGetCapabilityRequested
→ EventStream<OnGetCapabilityRequestedEvent>
-
Event fired when print manager requests printer capabilities.
|printerId|: Unique ID of the printer whose capabilities are requested.
|resultCallback|: Callback to return device capabilities in
CDD
format.
The receiving listener must call callback exectly once.
no setter
-
onGetPrintersRequested
→ EventStream<void Function(List<PrinterInfo>)>
-
Event fired when print manager requests printers provided by extensions.
|resultCallback|: Callback to return printer list. Every listener must
call callback exactly once.
no setter
-
onGetUsbPrinterInfoRequested
→ EventStream<OnGetUsbPrinterInfoRequestedEvent>
-
Event fired when print manager requests information about a USB device
that may be a printer.
Note: An application should not rely on this event being
fired more than once per device. If a connected device is supported it
should be returned in the onGetPrintersRequested event.
|device|: The USB device.
|resultCallback|: Callback to return printer info. The receiving listener
must call callback exactly once. If the parameter to this callback is
undefined that indicates that the application has determined that the
device is not supported.
no setter
-
onPrintRequested
→ EventStream<OnPrintRequestedEvent>
-
Event fired when print manager requests printing.
|printJob|: The printing request parameters.
|resultCallback|: Callback that should be called when the printing
request is completed.
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited