TapOnPhoneInvocationSdk

object TapOnPhoneInvocationSdk

Entry point to Tap On Phone Invocation SDK

Functions

Link copied to clipboard

Retrieve an ActivityResultContract in order to request the Tap On Phone app to perform a transaction.

Link copied to clipboard
fun init(context: Context, applicationId: String)

Method that initiates the SDK. It should be called first than anything else.

Link copied to clipboard
fun release()

This method must be called once you end using the SDK, in order to release resources. If you need to use the SDK again after releasing it, you can safely call init again.

Link copied to clipboard
fun requestApplicationData(callback: (ApplicationDataSdkResult) -> Unit)

Request application data to the Tap On Phone app in order to validate a transaction.