SESSION_EXPIRED

SESSION_EXPIRED(TerminalErrorType.NETWORK_ERROR)

The current session has expired and the reader must be disconnected and reconnected. The SDK will attempt to auto-disconnect for you and you should instruct your user to reconnect it. TerminalListener.onUnexpectedReaderDisconnect will be called if the SDK is able to successfully auto-disconnect. If it does not successfully auto-disconnect, TerminalListener.onUnexpectedReaderDisconnect will not be called and connectionStatus will still be ConnectionStatus.CONNECTED and you can attempt to disconnect via Terminal.disconnectReader or you can instruct your user to disconnect manually by turning the reader off.

NOTE: This error will only occur in one of the following calls: Terminal.readReusableCard, Terminal.createPaymentIntent, Terminal.retrievePaymentIntent, Terminal.processPayment, and Terminal.cancelPaymentIntent.

Functions

Link copied to clipboard
fun toLogString(): String
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int