LocationListCallback

interface LocationListCallback : ErrorCallback

For callbacks that receive a list of Location objects on success.

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

Functions

onFailure
Link copied to clipboard
abstract fun onFailure(e: TerminalException)
This method will be called any time the the current operation fails.
onSuccess
Link copied to clipboard
abstract fun onSuccess(locations: List<Location>, hasMore: Boolean)
This method will be called after successful completion of an SDK method.