Constructor
new DataCollector()
Do not use this constructor directly. Use braintree-web.data-collector.create instead.
- Source:
Members
deviceData :string
JSON string to pass with server transactions.
- Source:
Methods
teardown(callbackopt) → {Promise|void}
Cleanly remove anything set up by create.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
callback |
callback |
<optional> |
Called on completion. If no callback is provided, |
- Source:
Examples
dataCollectorInstance.teardown();
dataCollectorInstance.teardown(function () {
// teardown is complete
});