add Credentials
abstract fun addCredentials(activity: Activity, configuration: Configuration, request: AddCredentials, launchMode: LaunchMode, onSuccess: (TinkAccountAggregationSuccess) -> Unit, onError: (TinkError) -> Unit)
Account aggregation lets you fetch end-user’s financial data from their bank accounts, so it can be collected or displayed in one place.
This function launches the flow for adding financial data of Account aggregation with continuous-access.
Parameters
activity
the Activity that is launching this flow.
configuration
Configuration the configuration for this flow.
request
AddCredentials the request object for this flow.
launch Mode
LaunchMode the mode in which this Tink flow is shown inside your app.
on Success
the callback in case of a successful outcome TinkAccountAggregationSuccess of this flow.
on Error
the callback in case of a non-successful outcome TinkError of this flow or dismissed flow.