DLCardSync

class DLCardSync @JvmOverloads constructor(apiKey: String, countryCode: String, testMode: Boolean = false)

Entry point for everything related to our card sync feature

Constructors

Link copied to clipboard
constructor(apiKey: String, countryCode: String, testMode: Boolean = false)

Creates an instance of DLCardSync

Properties

Link copied to clipboard

Determines if the sync process is running. Boolean that contains the synchronization state.

Link copied to clipboard

Date and time when the last synchronization was performed or null if it was never done.

Link copied to clipboard

Contains log information about the sync process, useful for debugging. This is cleaned up each time sync process starts.

Functions

Link copied to clipboard
fun sync(completion: (Result<String>) -> Unit)

Initiates the sync process