Cancelable

interface Cancelable

A Cancelable represents an ongoing operation run by the Terminal SDK. While the operation runs, the Cancelable allows the user to check whether it has completed or cancel it if necessary.

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

Functions

cancel
Link copied to clipboard
abstract fun cancel(callback: Callback)
Attempt to cancel the operation.

Properties

isCompleted
Link copied to clipboard
abstract val isCompleted: Boolean
Whether the operation has already completed