Overview
Set thePrimerHeadlessUniversalCheckoutRawDataManagerListener
in order to receive different
callbacks from Primer SDK.
onValidationChanged
KOTLIN
rawData
set by setRawData is valid, and all
the errors that occurred during validation.
Parameters
onMetadataChanged
Returns metadata for the current data set by using the setRawData. This synchronous callback provides immediate metadata updates based on internal SDK calculations. Check the section below for the metadata types that can be returned.KOTLIN
Parameters
onMetadataStateChanged
Returns metadata state for the current data set by using the setRawData. In contrast toonMetadataChanged
, this callback involves internal asynchronous operations,
offering a broader and more accurate dataset that can be fetched remotely.
Its dynamic nature enables you to access the current state of SDK operations,
providing an opportunity to tailor the UI accordingly.
Check the section below for the metadata state types that can be returned.
KOTLIN