collectDeviceData
open fun collectDeviceData(@NonNull context: Context, @NonNull dataCollectorRequest: DataCollectorRequest, @NonNull callback: DataCollectorCallback)
Collect device information for fraud identification purposes.
Parameters
context
Android Context
dataCollectorRequest
The DataCollectorRequest containing the configuration for the data collection request
callback
Deprecated
Deprecated
Passing in DataCollectorRequest is required. Use collectDeviceData instead. Collect device information for fraud identification purposes.
Parameters
context
Android Context
callback
open fun collectDeviceData(@NonNull context: Context, @Nullable merchantId: String, @NonNull callback: DataCollectorCallback)
Deprecated
Collects device data based on your merchant configuration.
We recommend that you call this method as early as possible, e.g. at app launch. If that's too early, call it at the beginning of customer checkout.
Use the return value on your server, e.g. with `Transaction.sale`.
Deprecated
Kount is officially deprecated, use collectDeviceData instead.
Parameters
context
Android Context
merchantId
Optional - Custom Kount merchant id. Leave blank to use the default.
callback