Braintree/src/main/java/com/braintreepayments/api/DataCollector.java
public static void collectDeviceData(BraintreeFragment fragment, BraintreeResponseListener<String> listener) {
        collectDeviceData(fragment, null, listener);
    }
public static void collectDeviceData(BraintreeFragment fragment, BraintreeResponseListener<String> listener) {
        collectDeviceData(fragment, null, listener);
    }
Collect device information for fraud identification purposes.

@param fragment {@link BraintreeFragment}
@param listener to be called with the device data String to send to Braintree.