Package-level declarations
Core classes used by all the SDK components.
Types
A reference to a Mobile Payments SDK Callback that can be cleared to prevent memory leaks. It is recommended to clear the reference any time a lifecycle destroy event occurs (e.g. android.app.Activity.onDestroy or ViewModel.onCleared()
). It can also be cleared when the Callback is no longer needed and should not be invoked.
Detailed errors to explain a failure. Typically these are returned from Square's Connect v2 REST APIs, and are documented here. However, there may be conditions where an error is generated by the SDK itself, for example to explain errors that prevented server or cardreader communication.
Denotes that the annotated element is part of a third-party Mobile Payments API. If you see this annotation in some 1P code or in a shared module, please try to replace the field with an equivalent non-3P class field. It might be already a fields in the same data class, e.g.