USBOutTransferResult class

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the WebUSB API provides the result from a call to the transferOut() and controlTransferOut() methods of the USBDevice interface. It represents the result from requesting a transfer of data from the USB host to the USB device.

Available extensions
Annotations
  • @experimental
  • @JS()
  • @staticInterop

Constructors

USBOutTransferResult(USBTransferStatus status, [int? bytesWritten = 0])
factory

Properties

bytesWritten int

Available on USBOutTransferResult, provided by the PropsUSBOutTransferResult extension

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

Available on USBOutTransferResult, provided by the PropsUSBOutTransferResult extension

no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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