Contents

copyStream(withStreamID:)

Returns the stream for a stream ID.

Declaration

func copyStream(withStreamID streamID: Int) throws -> IOUSBHostStream

Parameters

Return Value

A pointer to an IOUSBHostStream; otherwise, nil if the device or the underlying host controller doesn’t support the specified stream ID.

Discussion

Call enableStreams() before this method.

See Also

Managing Streams