public ReaderCallback extends ErrorCallback
ReaderCallback
is an interface for callbacks that will receive a
class 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
class Reader
Modifier and Type | Method and Description |
---|---|
void |
onSuccess(Reader reader) |
onFailure
void onSuccess(@NotNull Reader reader)
reader
- the class Reader
that we are now connected to.