extend Consent
abstract fun extendConsent(activity: Activity, configuration: Configuration, request: BusinessExtendConsent, launchMode: LaunchMode, onSuccess: (TinkBusinessTransactionsSuccess) -> Unit, onError: (TinkError) -> Unit)
This function Launches the flow for extending consent on continuous access to Business Transactions.
Parameters
activity
the Activity that is launching this flow.
configuration
Configuration the configuration for this flow.
request
BusinessExtendConsent 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 TinkBusinessTransactionsSuccess of this flow.
on Error
the callback in case of a non-successful outcome TinkError of this flow or dismissed flow.