Zebra LinkOS Multiplatform SDK for Xamarin  1.1
Link-OS Portable Class Library Plugin for Xamarin
LinkOS.Plugin.Abstractions.IConnectionBuilder Interface Reference

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...

Inheritance diagram for LinkOS.Plugin.Abstractions.IConnectionBuilder:
LinkOS.Plugin.ConnectionBuilderImplementation

Public Member Functions

IConnection Build (string connectionString)
 Creates a Connection type based on the contents of descriptionString. More...
 

Detailed Description

Builds a Connection from a description string. The description string is used to specify a connection to a specific device over TCP or Bluetooth.

Member Function Documentation

IConnection LinkOS.Plugin.Abstractions.IConnectionBuilder.Build ( string  connectionString)

Creates a Connection type based on the contents of descriptionString.

Parameters
connectionStringThe 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
Returns
Connection derived from connection

Implemented in LinkOS.Plugin.ConnectionBuilderImplementation.


The documentation for this interface was generated from the following file: