class Builder
build |
fun build(context: Context): MarketingCloudConfig |
setAccessToken |
fun setAccessToken(accessToken: String): Builder |
setAnalyticsEnabled |
fun setAnalyticsEnabled(analyticsEnabled: Boolean): Builder |
setApplicationId |
fun setApplicationId(applicationId: String): Builder |
setDelayRegistrationUntilContactKeyIsSet |
Set the behavior for initial Contact Key registration. fun setDelayRegistrationUntilContactKeyIsSet(delay: Boolean): Builder |
setGeofencingEnabled |
fun setGeofencingEnabled(geofenceEnabled: Boolean): Builder |
setInboxEnabled |
fun setInboxEnabled(inboxEnabled: Boolean): Builder |
setMarketingCloudServerUrl |
Set the Tenant Specific Endpoint URL for your application. For more information reference the SDK documentation website. fun setMarketingCloudServerUrl(marketingCloudServerUrl: String): Builder |
setMarkMessageReadOnInboxNotificationOpen |
The default behavior of the SDK has been to mark an {@link 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. fun setMarkMessageReadOnInboxNotificationOpen(markRead: Boolean): Builder |
setMid |
Set your application's MID value found in your profile in your Marketing Cloud account. fun setMid(mid: String): Builder |
setNotificationCustomizationOptions |
fun setNotificationCustomizationOptions(options: NotificationCustomizationOptions): Builder |
setPiAnalyticsEnabled |
fun setPiAnalyticsEnabled(piAnalyticsEnabled: Boolean): Builder |
setProximityEnabled |
fun setProximityEnabled(proximityEnabled: Boolean): Builder |
setSenderId |
Sender Id used for push. fun setSenderId(senderId: String): Builder |
setUrlHandler |
fun setUrlHandler(urlHandler: UrlHandler): Builder |
setUseLegacyPiIdentifier |
The SDK will, by default, use the RegistrationManager.getContactKey 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. fun setUseLegacyPiIdentifier(useLegacyPiIdentifier: Boolean): Builder |