BraintreeClient
Core Braintree class that handles network requests.
Constructors
Create a new instance of BraintreeClient using a tokenization key or client token and a custom url scheme.
Create a new instance of BraintreeClient using a ClientTokenProvider and a custom url scheme.
Functions
Deliver a browser switch result from an Activity's pending deep link intent url. If BraintreeClient.launchesBrowserSwitchAsNewTask is set to true, use BraintreeClient.deliverBrowserSwitchResultFromNewTask instead.
Deliver pending browser switch result received by BraintreeDeepLinkActivity when BraintreeClient.launchesBrowserSwitchAsNewTask is set to true.
Retrieve Braintree configuration.
For clients using a ClientTokenProvider, call this method to invalidate the existing, cached client token. A new client token will be fetched by the SDK when it is needed.
Set this property to true to allow the SDK to handle deep links on behalf of the host application for browser switched flows.