TapToPayReaderListener

The TapToPayReaderListener interface is a listener that should exist for the entire duration of your connection to a tap-to-pay reader. It will receive events related to the status of the reader.

Functions

Link copied to clipboard
open fun onDisconnect(reason: DisconnectReason)

This method is called when the reader has disconnected from the SDK, and includes the reason for the disconnect.

Link copied to clipboard

Invoked when a connection could not be re-established with the given reader after a reasonable number of attempts.

Link copied to clipboard
open fun onReaderReconnectStarted(reader: Reader, cancelReconnect: Cancelable, reason: DisconnectReason)

Invoked when the given reader has unexpectedly disconnected and an auto reconnection process has been initiated.

Link copied to clipboard

Invoked when a connection has successfully been re-established with the given reader.