OfflineListener
The OfflineListener enables an application to be notified when asynchronous connection status changes related to the terminal sdk occur.
Applications can register an OfflineListener to the Terminal SDK on init, to receive callbacks when the SDK transitions between offline and online states.
Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal
Functions
onForwardingFailure invoked when the SDK encounters an error that is not specific to any particular PaymentIntent. For example, if the SDK fails to fetch a connection token as part of the forwarding process, this method will be called with an appropriate error.
onOfflineStatusChange invoked when the SDK has updated its OfflineStatus.
onPaymentIntentForwarded invoked when the SDK has finished forwarding - successfully or not - all requests associated with a particular PaymentIntent.
onSetupIntentForwarded invoked when the SDK has finished forwarding - successfully or not - all requests associated with a particular SetupIntent.