ReaderCallback

ReaderCallback is an interface for callbacks that will receive a Reader under the success case, and an Exception under the failure case.

Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal

Functions

Link copied to clipboard
abstract fun onFailure(e: TerminalException)

This method will be called any time the the current operation fails.

Link copied to clipboard
abstract fun onSuccess(reader: Reader)