Zebra LinkOS Multiplatform SDK for Xamarin
1.1
Link-OS Portable Class Library Plugin for Xamarin
|
Builds a Connection from a description string. The description string is used to specify a connection to a specific device over TCP or Bluetooth. More...
Public Member Functions | |
IConnection | Build (string connectionString) |
Creates a Connection type based on the contents of descriptionString. More... | |
Builds a Connection from a description string. The description string is used to specify a connection to a specific device over TCP or Bluetooth.
IConnection LinkOS.Plugin.Abstractions.IConnectionBuilder.Build | ( | string | connectionString | ) |
Creates a Connection type based on the contents of descriptionString.
connectionString | The format of the input string is: [prefix:] address [: port_number(s)] Prefix is either TCP_MULTI, TCP, TCP_STATUS, BT_MULTI, BT, or BT_STATUS The format of address depends on the prefix and OS: BT : Android - address is the printer's BT MAC address. iOS - address is the printer's serial number. TCP : Android - address is either a DNS name or an IPv4 address. iOS - address is an IPv4 address. port_number(s) is optional, and only applicable for TCP connections. iOS Considerations:TCP_MULTI, BT_MULTI, and BT_STATUS are not availible. TCP IPv4 address only, DNS name not supported. Examples : TCP:ZBR3054027:9100
TCP_STATUS:10.1.2.3
BT:11:22:33:44:55:66
BT:XXQLJ112000026
10.1.2.3
|
Implemented in LinkOS.Plugin.ConnectionBuilderImplementation.