ReaderReconnectionListener
interface ReaderReconnectionListener
The ReaderReconnectionListener
is implemented in order to receive updates from auto reconnection.
If opting in to auto reconnections, onReaderReconnectStarted will be triggered instead of MobileReaderListener.onDisconnect.
Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal
Inheritors
Functions
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.