MultichannelBluetoothConnection(String, Int32, Int32, Int32, Int32) Constructor
|
Initializes a new instance of the MultichannelBluetoothConnection class.
Namespace: Zebra.Sdk.CommAssemblies: ZebraPrinterSdk (in ZebraPrinterSdk.dll) Version: 3.0.3271
SdkApi.Desktop (in SdkApi.Desktop.dll) Version: 3.0.3271
Syntax public MultichannelBluetoothConnection(
string macAddress,
int printingChannelMaxTimeoutForRead,
int printingChannelTimeToWaitForMoreData,
int statusChannelMaxTimeoutForRead,
int statusChannelTimeToWaitForMoreData
)
Public Sub New (
macAddress As String,
printingChannelMaxTimeoutForRead As Integer,
printingChannelTimeToWaitForMoreData As Integer,
statusChannelMaxTimeoutForRead As Integer,
statusChannelTimeToWaitForMoreData As Integer
)
public:
MultichannelBluetoothConnection(
String^ macAddress,
int printingChannelMaxTimeoutForRead,
int printingChannelTimeToWaitForMoreData,
int statusChannelMaxTimeoutForRead,
int statusChannelTimeToWaitForMoreData
)
Parameters
- macAddress String
- The MAC Address of the Printer.
- printingChannelMaxTimeoutForRead Int32
- The maximum time, in milliseconds, to wait for any data to be received on the printing channel.
- printingChannelTimeToWaitForMoreData Int32
- The maximum time, in milliseconds, to wait in-between reads after the initial read on the printing channel.
- statusChannelMaxTimeoutForRead Int32
- The maximum time, in milliseconds, to wait for any data to be received on the status channel.
- statusChannelTimeToWaitForMoreData Int32
- The maximum time, in milliseconds, to wait in-between reads after the initial read on the status channel.
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