CVVComponentMediator

CVVComponent Mediator provides capabilities to load CVV component along with tokenization

Functions

Link copied to clipboard
abstract fun createToken(resultHandler: (CVVTokenizationResultHandler) -> Unit)

Creates a CVV token and invokes the provided resultHandler with the tokenization result.

Link copied to clipboard
abstract fun CVVComponent()

Load component in compose UI

Link copied to clipboard
abstract fun provideCvvComponentContent(container: View): View
abstract fun provideCvvComponentContent(container: View, strategy: ViewCompositionStrategy = ViewCompositionStrategy.DisposeOnViewTreeLifecycleDestroyed): View

To Add CVV Component in XML/Dynamic layouts