Deprecated APIs
A comprehensive list of deprecated methods, classes, and types in the Soft POS.
Modernization Policy
As the SDK evolves, we periodically rename or restructure APIs to improve consistency, clarity, and performance. While these deprecated items remain functional for backward compatibility, we strongly recommend migrating to the suggested replacements in your next update.
The following callback typealiases have been standardized with consistent naming conventions.
| Deprecated Item | Replacement | Notes |
|---|---|---|
| ProcessCompleteCallback | TransactionCompleteCallback | Standardized naming convention. |
| ServerCompletionCallBack | ServerResponseCallback | Renamed for clarity. |
| PluginCallBack | CardProcessingCallback | Clarified purpose. |
| TimeOutCallBack | TimeoutCallback | Fixed casing and standardized. |
| CancelByUserCallBack | CancellationCallback | Standardized naming. |
| OnErrorCallBack | ErrorCallback | Standardized naming. |
Loading...The error handling system has moved from a mutable Error enum to a type-safe, immutable EdfaError sealed class.
EdfaException Members
| Deprecated Item | Replacement | Notes |
|---|---|---|
| EdfaException.type | EdfaException.error | The new property returns the EdfaError sealed class. |
| Constructor(Error, ...) | Constructor(EdfaError, ...) | Transitioning to the new error model. |
Error Enum (Legacy)
The entire Error enum is deprecated in favor of EdfaError. Many helper methods on this enum have also been replaced.
| Deprecated Item | Replacement | Notes |
|---|---|---|
| Error.exception() | EdfaError.exception() | Equivalent functionality in the new model. |
| Error.CUSTOM(message, ...) | EdfaError.custom() | Immutable replacement. |
| Error.CUSTOM(throwable) | EdfaError.from(throwable) | Enhanced error extraction. |
The QR generation API has been overhauled to provide more flexibility and better performance using vector-based options.
Main Components
| Deprecated Item | Replacement | Notes |
|---|---|---|
| QrOptions | QrCodeDrawable / QrVectorOptions | Modernized vector-based options. |
| QrOptions.Builder | QrVectorOptions.Builder | New builder for vector options. |
| createQrOptions | createQrVectorOptions | DSL method for vector QR codes. |
Styling & Shapes
Deprecated Style Classes
| Deprecated Item | Replacement | Notes |
|---|---|---|
| HttpLoggingInterceptor.level | N/A | Property access deprecated in favor of internal management. |
On this page
Downloads
Coming SoonSample apps, release bundles, and more content will be available here soon.