java.lang.Object | |
↳ | com.salesforce.android.connectedapp.ConnectedAppConfiguration.Builder |
Builder class for creating ConnectedAppConfiguration
instances. A valid Salesforce
instance URL and an AuthTokenProvider
instance are required.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Builder() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ConnectedAppConfiguration.Builder |
authTokenProvider(AuthTokenProvider authTokenProvider)
REQUIRED: An
AuthTokenProvider instance, used when making authenticated HTTP requests
to Salesforce. | ||||||||||
ConnectedAppConfiguration |
build()
Build a ConnectedAppConfiguration instance.
| ||||||||||
ConnectedAppConfiguration.Builder |
gcmSenderId(String gcmSenderId)
This method is deprecated.
It is no longer necessary to specify your Sender ID here. Configure your app with
the Firebase SDK and include your google-services.json file in your project. See the following guide:
https://firebase.google.com/docs/android/setup
| ||||||||||
ConnectedAppConfiguration.Builder |
salesforceInstanceURL(String salesforceInstanceURL)
REQUIRED: The Salesforce instance URL or Community URL for your Organization.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
REQUIRED: An AuthTokenProvider
instance, used when making authenticated HTTP requests
to Salesforce. Connected App client functionality requires an authenticated user.
Build a ConnectedAppConfiguration instance. This may be passed to
create(Context, ConnectedAppConfiguration)
to initialize your
Con
nected App client.
An exception will be thrown if the Salesforce instance URL or AuthTokenProvider
are
not provided to the Builder before calling this method.
This method is deprecated.
It is no longer necessary to specify your Sender ID here. Configure your app with
the Firebase SDK and include your google-services.json file in your project. See the following guide:
https://firebase.google.com/docs/android/setup
REQUIRED: The Salesforce instance URL or Community URL for your Organization.