requestPermissions

open override fun requestPermissions(activity: Activity, dataTypes: Set<DataType>, listener: AggregatorManager.PermissionsHandler<DataType>)

Request authorization to the aggregator platform from the end user. If multiple platform users are available on the device, then this will display a dialog to choose which account the Validic SDK is to collect data from. The listener will respond with a Map<String, Boolean> indicating whether authorization has been granted by the end user to collect data

Parameters

activity

Activity context that will be used to launch requests for access to the aggregator platform

dataTypes

Set of data types to request access for

listener

Listener for the response from the platform for permission to collect data from