In this article, you will understand the definitions of various functions within our Android SDK.
Configures the sdk. This function needs to be called in the onCreate of the application class before the sdk usage. The application parameter refers to application instance of the app. The configuration parameter refers to the configuration for the aws.
Enables the debug logs into the logcat. Logging is disabled by default.
Disables the debug logs into the logcat. Logging is disabled by default.
The internal SDK function to get the access token.
Sets the access and refresh token.
Sign in call for authenticating the users. The activity parameter refers to the sign-in function. The RmsAuthCallback refers to the sign-in results.
Verifies the sign-in data returned from the sign-in page. The intent parameter refers to the auth session returned by the sign-in page.
Sign out call for authenticated users. The RmsAuthCallback refers to the sign-in results.
Gets the list of terminals from the server.
Gets the transactions list of the active terminals from the server.
Cancels the transaction of the active terminal from the server.
Searches all the transactions based upon terminal id, transaction status, and transaction type from the server.
Sets the active terminal.
Gets the details of the active terminal.
Creates a transaction on the active terminal. The parameter amount refers to the transaction amount. The currencyCode refers to the currency used for the transaction. Please use [com.kachyng.rmssdk.constants.CurrencyCode] for supported currency codes. The cashBackAmount refers to the cashback amount. The transactionType refers to the type of transaction. Please use [com.kachyng.rmssdk.constants.TransactionType] for supported types.
Creates a report on the active terminal.
Checks the status of the given transaction. The transactionId refers to the [ModelTransaction.transactionRefId] field.
Searches transaction by transaction id.
If you're looking for help, shoot us an email. Please include a description of the issues that you are running into.
Updated 6 months ago