MultichannelBluetoothConnection Constructor (String, Int32, Int32)
|
Initializes a new instance of the MultichannelBluetoothConnection class.
Namespace:
Zebra.Sdk.Comm
Assemblies:
SdkApi.Desktop (in SdkApi.Desktop.dll) Version: 2.15.2634
ZebraPrinterSdk (in ZebraPrinterSdk.dll) Version: 2.15.2521
Syntax public MultichannelBluetoothConnection(
string macAddress,
int maxTimeoutForRead,
int timeToWaitForMoreData
)
Public Sub New (
macAddress As String,
maxTimeoutForRead As Integer,
timeToWaitForMoreData As Integer
)
public:
MultichannelBluetoothConnection(
String^ macAddress,
int maxTimeoutForRead,
int timeToWaitForMoreData
)
Parameters
- macAddress
- Type: SystemString
The MAC Address of the Printer. - maxTimeoutForRead
- Type: SystemInt32
The maximum time, in milliseconds, to wait for any data to be received. - timeToWaitForMoreData
- Type: SystemInt32
The maximum time, in milliseconds, to wait in-between reads after the initial read.
Remarks
This constructor will use the specified timeouts for
Read for both channels. The timeout is a maximum of
maxTimeoutForRead milliseconds for any data to be received. If no more data is available after
timeToWaitForMoreData milliseconds the read operation is assumed to be complete. If you wish to
specify different timeouts for each channel, use
MultichannelBluetoothConnection(String, Int32, Int32, Int32, Int32).
See Also