startMonitoringUpdates

open override fun startMonitoringUpdates(onError: (WhitelabelPayError) -> Unit)

Function to start refreshing tokens and and data sync with the backend. Calling this function periodically emits a new Token, as well as syncs the SDK state with the backend.

Parameters

onError

callback function for UI to handle errors