Contents

IOUSBHostCompletionHandler

The completion handler for asynchronous control, bulk, and interrupt transfers.

Declaration

typealias IOUSBHostCompletionHandler = (IOReturn, Int) -> Void

Parameters

  • status:

    The result for the transfer.

  • bytesTransferred:

    The number of bytes the request transferred.