Adding new enum value to input or output
Adding new field in input or output model
This section describes basic information about QR SDK setup and available methods.
Facade is entry point to communication with QR SDK.
P2P QR SDK provides two public API 's with same functionalities, the API's are:
QrCoroutineService for projects which uses Kotlin programming language and Coroutines.
QrStdService for projects which uses Kotlin or Java programming language and standard Callback.
The difference between the API's is a way of providing data to SDK methods and getting the results from them. Input and output as an data models are
the same. This documentation presents I/O types in a Kotlin way as it 's easier to mark nullable fields (as question mark).
Every method description has same structure.
Execution type:
Asynchronous - Operation could take more time and method is called on thread different than main. The result of execution is provided in callback
(described below).
Synchronous - Result of operation is provided as method return type.
Method type:
Online - Operation requires Internet connection.
Offline - Operation can be called without Internet connection.
Input Input parameters with name, type and description.
Output Result delivered by standard Callback with data or result is suspended until the Coroutine completes < > .
The minSdkVersion must be at least 23 (Android 6.0).
SDK is available on Verestro maven repository and can be configured in project using Gradle build system.
Username and password is provided by Verestro.
repositories{
maven {
credentials {
username "<enter_username_here>"
password "<enter_password_here>"
}
url "https://artifactory.upaid.pl/artifactory/libs-release-local/"
}
}
QR SDK is available in two versions: debug and release. The difference between version is debug allows to use application with debugger connected.
Debug version is ended with appendix "-debug" in version name. Samples below:
2. Technical overview
2.1. Basic information
2.1.1 Facade
2.1.2 Multiple facade types
2.1.3 Method structure
2.2 Basic configuration
2.2.1 Min SDK Version
2.2.2 Artifactory
2.2.3 SDKs version