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

The OS specific implementation of IConnectionBuilder More...

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

Public Member Functions

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

Detailed Description

The OS specific implementation of IConnectionBuilder

Member Function Documentation

Abstractions.IConnection LinkOS.Plugin.ConnectionBuilderImplementation.Build ( string  connectionString)
inline

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

Implements LinkOS.Plugin.Abstractions.IConnectionBuilder.


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