Click or drag to resize

MultichannelBluetoothConnection Constructor (String, Int32, Int32, Int32, Int32)

Initializes a new instance of the MultichannelBluetoothConnection class.

Namespace:  Zebra.Sdk.Comm
Assembly:  SdkApi_Desktop (in SdkApi_Desktop.dll) Version: 2.14.1989
Syntax
public MultichannelBluetoothConnection(
	string macAddress,
	int printingChannelMaxTimeoutForRead,
	int printingChannelTimeToWaitForMoreData,
	int statusChannelMaxTimeoutForRead,
	int statusChannelTimeToWaitForMoreData
)

Parameters

macAddress
Type: SystemString
The MAC Address of the Printer.
printingChannelMaxTimeoutForRead
Type: SystemInt32
The maximum time, in milliseconds, to wait for any data to be received on the printing channel.
printingChannelTimeToWaitForMoreData
Type: SystemInt32
The maximum time, in milliseconds, to wait in-between reads after the initial read on the printing channel.
statusChannelMaxTimeoutForRead
Type: SystemInt32
The maximum time, in milliseconds, to wait for any data to be received on the status channel.
statusChannelTimeToWaitForMoreData
Type: SystemInt32
The maximum time, in milliseconds, to wait in-between reads after the initial read on the status channel.
Exceptions
ExceptionCondition
ConnectionExceptionUnsupported operating system.
Remarks
This constructor will use the specified timeouts for Read for the channels. The timeout is a maximum of printingChannelMaxTimeoutForRead/statusChannelMaxTimeoutForRead milliseconds for any data to be received on the printing/status channels respectively. If no more data is available after printingChannelTimeToWaitForMoreData/statusChannelTimeToWaitForMoreData milliseconds on the printing/status channels respectively the read operation is assumed to be complete.
See Also