Platforms to show: All Mac Windows Linux Cross-Platform

Back to LibUSBTransferMBS class.

LibUSBTransferMBS.ActualLength as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Actual length of data that was transferred.

Read-only, and only for use within transfer callback function.
Not valid for isochronous endpoint transfers.
(Read only property)

LibUSBTransferMBS.Buffer as MemoryBlock

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The memory buffer to use.

Please assign MemoryBlock of right size as this sets length property.
(Read and Write property)

LibUSBTransferMBS.Device as LibUSBDeviceMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The device that this transfer will be submitted to.

(Read and Write property)

LibUSBTransferMBS.Endpoint as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Address of the endpoint where this transfer will be sent.

(Read and Write property)

LibUSBTransferMBS.Flags as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
A bitwise OR combination of flags.

(Read and Write property)

LibUSBTransferMBS.ISOPackets as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Number of isochronous packets.

Only used for I/O with isochronous endpoints.
(Read only property)

LibUSBTransferMBS.Length as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Length of buffer.

Set to length of MemoryBlock assigned to buffer property.
(Read only property)

LibUSBTransferMBS.Status as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The status of the transfer.

Read-only, and only for use within transfer callback function.

If this is an isochronous transfer, this field may read kTransferStatusCompleted even if there were errors in the frames. Use the status in LibUSBISOPacketDescriptorMBS in each packet to determine if errors occurred.
(Read only property)

LibUSBTransferMBS.Tag as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The tag for the transfer.

A value you can use as you like, e.g. to store reference to your window.
(Read and Write property)

LibUSBTransferMBS.Timeout as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Timeout for this transfer in millseconds.

A value of 0 indicates no timeout.
(Read and Write property)

LibUSBTransferMBS.Type as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Type of the endpoint.

See kTransferType* constants.
(Read and Write property)

The items on this page are in the following plugins: MBS USB Plugin.


The biggest plugin in space...