DataCollector
class DataCollector
PayPalDataCollector is used to collect PayPal specific device information to aid in fraud detection and prevention.
Constructors
Link copied to clipboard
Initializes a new DataCollector instance
Functions
Link copied to clipboard
fun collectDeviceData(context: Context, request: DataCollectorRequest, callback: DataCollectorCallback)
Collects device data for PayPal APIs.
Link copied to clipboard
fun collectDeviceDataOnSuccess(context: Context, request: DataCollectorRequest, callback: DataCollectorCallback)
This method should be used for markets where high coverage of device data is needed (ex: Predictions Market). Collects device data based on your merchant configuration.