public ReaderSoftwareUpdateCallback extends ErrorCallback
A ReaderSoftwareUpdateCallback
is called upon completion of
Terminal.checkForUpdate and will pass back a class ReaderSoftwareUpdate
if it's
available.
Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal
Modifier and Type | Method and Description |
---|---|
void |
onSuccess(ReaderSoftwareUpdate update)
This will be called with a
class ReaderSoftwareUpdate if there's an update available,
or null otherwise. |
onFailure
void onSuccess(@Nullable ReaderSoftwareUpdate update)
This will be called with a class ReaderSoftwareUpdate
if there's an update available,
or null otherwise.
update
- The class ReaderSoftwareUpdate
class ReaderSoftwareUpdate