Overview

Set the PrimerHeadlessUniversalCheckoutUiListener in order to receive different UI callbacks from Primer SDK.

onPreparationStarted

This method will be called when the SDK starts preparing to tokenize the payment method.

KOTLIN
fun onPreparationStarted(paymentMethodType: String)

Parameters

onPaymentMethodShowed

This method will be called when the payment method UI gets displayed.

KOTLIN
fun onPaymentMethodShowed(paymentMethodType: String)