USBInTransferResult 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 transferIn() and controlTransferIn() methods of the USBDevice interface. It represents the result from requesting a transfer of data from the USB device to the USB host.

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

Constructors

USBInTransferResult(USBTransferStatus status, [ByteData? data])
factory

Properties

data ByteData?

Available on USBInTransferResult, provided by the PropsUSBInTransferResult 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 USBInTransferResult, provided by the PropsUSBInTransferResult 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