WebIDLpedia

USBOutTransferResult interface

Definition

WebUSB API defines USBOutTransferResult



[
  Exposed=(Worker,Window),
  SecureContext
]
interface USBOutTransferResult {
  constructor(USBTransferStatus status, optional unsigned long bytesWritten = 0);
  readonly attribute unsigned long bytesWritten;
  readonly attribute USBTransferStatus status;
};

Methods and attributes that return objects implementing USBOutTransferResult

Referring IDL interfaces/dictionaries