java.lang.Object | |
↳ | com.salesforce.marketingcloud.MarketingCloudConfig.Builder |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Builder() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
final MarketingCloudConfig | build(Context context) | ||||||||||
abstract MarketingCloudConfig.Builder | setAccessToken(String value) | ||||||||||
abstract MarketingCloudConfig.Builder | setAnalyticsEnabled(boolean value) | ||||||||||
abstract MarketingCloudConfig.Builder | setApplicationId(String value) | ||||||||||
abstract MarketingCloudConfig.Builder |
setDelayRegistrationUntilContactKeyIsSet(boolean value)
Set the behavior for initial Contact Key registration.
| ||||||||||
abstract MarketingCloudConfig.Builder | setGeofencingEnabled(boolean value) | ||||||||||
abstract MarketingCloudConfig.Builder | setInboxEnabled(boolean value) | ||||||||||
abstract MarketingCloudConfig.Builder |
setMarkMessageReadOnInboxNotificationOpen(boolean value)
The default behavior of the SDK has been to mark an
InboxMessage as read when the notification
is clicked. | ||||||||||
abstract MarketingCloudConfig.Builder |
setMarketingCloudServerUrl(String value)
Set the Tenant Specific Endpoint URL for your application.
| ||||||||||
abstract MarketingCloudConfig.Builder |
setMid(String value)
Set your application's MID value found in your profile in your Marketing Cloud account.
| ||||||||||
abstract MarketingCloudConfig.Builder | setNotificationCustomizationOptions(NotificationCustomizationOptions value) | ||||||||||
abstract MarketingCloudConfig.Builder | setPiAnalyticsEnabled(boolean value) | ||||||||||
abstract MarketingCloudConfig.Builder | setProximityEnabled(boolean value) | ||||||||||
abstract MarketingCloudConfig.Builder |
setSenderId(String value)
Sender Id used for push.
| ||||||||||
abstract MarketingCloudConfig.Builder | setUrlHandler(UrlHandler urlHandler) | ||||||||||
abstract MarketingCloudConfig.Builder |
setUseLegacyPiIdentifier(boolean value)
The SDK will, by default, use the
Contact Key as the
Predictive Intelligence Identifier for all Predictive Intelligence analytics. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Set the behavior for initial Contact Key registration.
value | defaults to false. Set to true if you wish to prevent the initial registration call until Contact Key is set. |
---|
The default behavior of the SDK has been to mark an InboxMessage
as read when the notification
is clicked. The default behavior remains unchanged and messages will continue to be marked as read
unless you set this field to false.
Set the Tenant Specific Endpoint URL for your application.
value | represents the server to which the SDK will communicate. |
---|
Set your application's MID value found in your profile in your Marketing Cloud account.
value | the numeric MID from your Marketing Cloud profile |
---|
Sender Id used for push.
Do not call this method if you wish to handle retrieval of the push token
within your own application code. Doing so will cause conflicts in the push token retrieved.
The SDK will, by default, use the Contact Key
as the
Predictive Intelligence Identifier for all Predictive Intelligence analytics. A future release of the
SDK will eliminate this default behavior such that a value must be explicitly set as the pi identifier.
value | defaults to true. Set to false if you wish to take explicit control of the Predictive Intelligence Identifier value. |
---|