ReaderSoftwareUpdateCallback

A ReaderSoftwareUpdateCallback is called upon completion of Terminal.checkForUpdate and will pass back a ReaderSoftwareUpdate if it's available.

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(update: ReaderSoftwareUpdate?)

This will be called with a ReaderSoftwareUpdate if there's an update available, or null otherwise.