Global

Members

EventEmitter

Created by pavel.mash on 10.09.2016.

Type Definitions

UB-onError(errorMessage, errorNumopt)

The onError callback
Arguments:
  1. errorMessage (string)
  2. [errorNum] (Number)

TubSelectRequest

Properties:
Name Type Description
fieldList Array.<String>

Array of entity attribute names

whereList Object

Where clauses

orderList Object

Order clauses

options Object

Options

ID Number

ID

TubCachedData

Properties:
Name Type Description
data Array.<Array>
fields Array.<String>
rowCount Number

barCodeItemConfig

Properties:
Name Type Attributes Default Description
itemType string <optional>
"text'

One of Text, BarCode, Empty

column Number

Column number to place item into

value String

Item text

fontName String
fontSize Number
fontBold Boolean
fontItalic Boolean
fontUnderline Boolean
fontStrikeout Boolean
textOrientation String

One of Horizontal, Vertical

barCodeSymbology String <optional>
"Ean13"

Barcode symbologie. Possible values are one of Ean8,Ean13,Codabar,Code39Standard,Code39Full,Code93Standard,Code93Full, Code128,ACodabar, 25Datalogic,25Interleaved,25Matrix, 25Industrial,25IATA,25Invert,ITF, ISBN, ISSN, ISMN, UPCA,UPCE0,UPCE1,UPCShipping,SCC14, JAN8, JAN13,MSIPlessey,PostNet,Planet,RoyalMail,4State,Dutch4StatePostal, SwissPostal,Singapore4StatePostalCode,PostBar,PostbarCPC4State,OPC,UccEan128,25Coop, Code11,PZN,PDF417, CodablockF,SSCC,SISAC,Code16K,CodabarMonarch,Fim, Telepen, IntelligentMail, AustraliaPost, DataMatrix, QRCode, Aztec

barCodeWidth Number
barCodeHeight Number
margins Array.<Number>

Events

newListener

removeListener

authorized

Fired for UBConnection instance after success authorization. Accept 3 args (conn: UBConnection, session: UBSession, authParams)

authorizationFail

Fired for UBConnection instance in case of bad authorization Accept 1 args (reason)

passwordExpired

Fired for UBConnection instance in case user password is expired. The only valid endpoint after this is changePassword

connected

Emitted for UBNotifierWSProtocol just after WS connection is established, but before it accepted by server. Params: url, protocol

accepted

If server accept a ubNotifier WS connection this event will be emitted for UBNotifierWSProtocol with connectionID parameter