collectDeviceData

Collects device data for PayPal APIs.

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.

Parameters

context

Android Context

request

Optional client metadata id