the endpoint of the Clover device. e.g. wss://192.168.1.15:12345/remote_pay
the applicationId that uniquely identifies the POS. e.g. com.company.MyPOS:2.3.1
Displayed during pairing to display the POS name on the Mini. e.g. MyPOS
Displayed during pairing to display the device identifier. e.g. 'Aisle 3' or 'POS-35153234'
The authToken retrieved from a previous pairing activity, passed as an argument to onPairingSuccess. This will be null for the first connection.
Function that will be called when a pairing code is sent. Typically, this would be displayed to the user, and they would enter this code into the device screen.
Function that willbe called when the pairing process is complete, a authentication token is sent that be reused.
the function that will return an instance of the CloverWebSocketInterface that will be used when connecting.
utility to translate images into base64 strings.
Frequency at which we will ping the device - millis. Defaults to 5000 (millis), minimum value is 2500 millis. To disable the PING set to -1.
upon disconnect, duration to wait until a reconnect is attempted - millis. Defaults to 3000 (millis), minimum value is 3000 millis. To disable the reconnect set to -1.
If a response to a heartbeat ping is not received within this time we will call disconnect. Defaults to 3000 (millis).
Generated using TypeDoc
This is the base class that is used when connecting directly to a device via the "Network Pay Display".
A pairing scheme is used when connecting, so the function callbacks for when a pairing code is received, and when the pairing completes must be implemented here.